Re: [PATCH 3/5] conf: Error out if iothread id is missing in iothreadpin

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

 




On 04/07/2015 02:50 PM, Peter Krempa wrote:
> Defining a domain with the following config:
> 
> <domain ...>
>   ...
>   <iothreads>1</iothreads>
>   <cputune>
>     <iothreadpin cpuset='1'/>
> 
> will result in the following config formatted back:
> <domain type='kvm'>
>   ...
>   <iothreads>1</iothreads>
>   <cputune>
>     <iothreadpin iothread='0' cpuset='1'/>
> 
> After restart the VM would vanish. Since our schema requires the
> @iothread field to be present in <iothreadpin> make it required by the
> code too.
> ---
>  src/conf/domain_conf.c | 44 ++++++++++++++++++++++++--------------------
>  1 file changed, 24 insertions(+), 20 deletions(-)
> 

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]