[libvirt] [PATCH 3/5] conf: Error out if iothread id is missing in iothreadpin
John Ferlan
jferlan at redhat.com
Tue Apr 14 01:31:19 UTC 2015
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
More information about the libvir-list
mailing list