That didn't come across quite as clear as I intended, so I'll
try again
with more details:
Right now, the 'vcpupin' command in virsh uses only the
virDomainPinVcpu{,Flags} API to set the vcpu pinning, while the
'vcpuinfo' command queries the existing vcpu details, including pinning
details. But 'vcpuinfo' currently fails on a non-running information,
and it uses the virDomainGetVcpus command; which means we need a
counterpart command (virDomainGetVcpusFlags) which will let us query the
persistent vcpu settings of an inactive domain.
Furthermore, it might be nice to add 'virsh vcpupin --query', which
prints the pinning information in the same manner of string as can be
used to set pinning, rather than the current 'virsh vcpuinfo' which is
rather complex for parsing.
So, I think we still need some more work on this front before 0.9.3 is
released.
OK, I'll try.
Taku Izumi <izumi.taku(a)jp.fujitsu.com>