]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx: convert cpuid.coresPerSocket for CPU topology
authorPino Toscano <ptoscano@redhat.com>
Thu, 19 Apr 2018 13:03:37 +0000 (15:03 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 20 Apr 2018 07:09:29 +0000 (09:09 +0200)
commit5cceadcbac033349ee9621bc87f98e0ced19b2ad
tree313e68688aaeef0e028307ca5b31801876bae3ab
parentb78c9c86daf63c3651e5c8ad8ac5a924518b0625
vmx: convert cpuid.coresPerSocket for CPU topology

Convert the cpuid.coresPerSocket key as both number of CPU sockets, and
cores per socket.

Add the VMX file attached to RHBZ#1568148 as testcase esx-in-the-wild-9;
adapt the resulting XML of testcase esx-in-the-wild-8 to the CPU
topology present in that VMX.

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

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/vmx/vmx.c
tests/vmx2xmldata/vmx2xml-esx-in-the-wild-8.xml
tests/vmx2xmldata/vmx2xml-esx-in-the-wild-9.vmx [new file with mode: 0644]
tests/vmx2xmldata/vmx2xml-esx-in-the-wild-9.xml [new file with mode: 0644]
tests/vmx2xmltest.c