Re: [PATCH 4/5] conf: Refactor virDomainVcpuPinDefParseXML

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

 




On 04/07/2015 02:50 PM, Peter Krempa wrote:
> Refactor the code to parse the vcpupin in a similar way the iothreadpin
> code is now structured. This allows to get rid of some very strange
> conditions and error messages.
> 
> Additionally since a existing bug
> ( https://bugzilla.redhat.com/show_bug.cgi?id=1208434 ) allows to add
> vcpupin definitions for vcpus that don't exist, this patch makes the
> parser to ignore all vcpupins that don't have a matching vCPU in the
> definition rather than just offlined ones.
> ---
>  src/conf/domain_conf.c | 33 ++++++++++++---------------------
>  1 file changed, 12 insertions(+), 21 deletions(-)
> 

Hmm - oh I see...  The deleted vcpuid >= maxvcpus check disappearing was
the cause of the above mentioned bug... and of course there's a
duplicated check later on...

ACK,

John

--
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]