[libvirt] [PATCH v2 2/2] qemu: Enforce vCPU hotplug granularity constraints

Peter Krempa pkrempa at redhat.com
Tue Dec 19 13:22:54 UTC 2017


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171219/8c7e10cb/attachment-0001.sig>


More information about the libvir-list mailing list