Re: [PATCH] qemu: do upfront check for vcpupids being null when querying pinning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 10, 2015 at 04:25:36PM +0000, Daniel P. Berrange wrote:
> The qemuDomainHelperGetVcpus attempted to report an error when the
> vcpupids info was NULL. Unfortunately earlier code would clamp the
> value of 'maxinfo' to 0 when nvcpupids was 0, so the error reporting
> would end up being skipped.
> 
> This lead to 'virsh vcpuinfo <dom>' just returning an empty list
> instead of giving the user a clear error.
> ---
>  src/qemu/qemu_driver.c | 47 +++++++++++++++++++++++------------------------
>  1 file changed, 23 insertions(+), 24 deletions(-)
> 

ACK

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]