[libvirt] [PATCH] virsh: fix vcpupin info

Michal Privoznik mprivozn at redhat.com
Fri Feb 20 10:10:51 UTC 2015


On 20.02.2015 08:37, Pavel Hrdina wrote:
> The "virDomainGetInfo" will get for running domain only live info and for
> offline domain only config info. There was no way how to get config info
> for running domain. We will use "vshCPUCountCollect" instead to get the
> correct cpu count that we need to pass to "virDomainGetVcpuPinInfo".
> 
> Also cleanup some unnecessary variables and checks that are done by
> drivers.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1160559
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  tests/vcpupin        |  2 +-
>  tools/virsh-domain.c | 75 ++++++++++++++++++++++++----------------------------
>  2 files changed, 35 insertions(+), 42 deletions(-)

ACK

Michal




More information about the libvir-list mailing list