On Fri, Dec 15, 2017 at 15:48:28 +0100, Andrea Bolognani wrote:
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(a)redhat.com>
---
src/qemu/qemu_domain.c | 41 ++++++++++++++++++++++
tests/qemuxml2argvdata/cpu-hotplug-granularity.xml | 18 ++++++++++
tests/qemuxml2argvtest.c | 3 ++
3 files changed, 62 insertions(+)
create mode 100644 tests/qemuxml2argvdata/cpu-hotplug-granularity.xml
ACK