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

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




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


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