libvirt/tests/qemuxml2argvdata/cpu-hotplug-granularity.xml
Andrea Bolognani a38aa340fe qemu: Enforce vCPU hotplug granularity constraints
QEMU 2.7 and newer don't allow guests to start unless the initial
vCPUs count is a multiple of the vCPU hotplug granularity, so
validate it and report an error if needed.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1283700

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2018-01-02 14:22:06 +01:00

19 lines
519 B
XML

<domain type='qemu'>
<name>guest</name>
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
<memory unit='KiB'>524288</memory>
<vcpu placement='static' current='2'>8</vcpu>
<os>
<type arch='ppc64' machine='pseries'>hvm</type>
</os>
<cpu>
<topology sockets='1' cores='2' threads='4'/>
</cpu>
<devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator>
<controller type='pci' model='pci-root'/>
<controller type='usb' model='none'/>
<memballoon model='none'/>
</devices>
</domain>