]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx: allow an odd number of vCPUs
authorPino Toscano <ptoscano@redhat.com>
Thu, 14 Jun 2018 13:34:25 +0000 (15:34 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 22 Jun 2018 08:37:24 +0000 (10:37 +0200)
commitc92b6023e8eb670e01571e299a85e9da9bd4844c
treeb5b0a21b5952fa710116b2ea316fe6fac296de2d
parent1136fd4ebe886f9c3bd396c4488279ba22a8e5d5
vmx: allow an odd number of vCPUs

Most probably this was a limitation in older ESX versions, and it seems
it does not exist anymore in more recent versions; see the following
thread:
https://www.redhat.com/archives/libvir-list/2018-May/msg02159.html
https://www.redhat.com/archives/libvir-list/2018-June/msg00043.html

Hence, allow an odd number (greater than 1) of vCPUs, since most
probably older versions of ESXi will error out anyway.

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

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/vmx/vmx.c