]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Always format CPU topology
authorJiri Denemark <jdenemar@redhat.com>
Tue, 16 Oct 2012 19:11:29 +0000 (21:11 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 18 Oct 2012 12:57:08 +0000 (14:57 +0200)
commitf1c70100409562c3f402392aa667732e5f89a2c4
tree14ae45c8453fa76bbe36c3d3973d32380f426d3d
parent54b8668b4d735b3d8aa19b06076dd657c4204bab
qemu: Always format CPU topology

When libvirt cannot find a suitable CPU model for host CPU (easily
reproducible by running libvirt in a guest), it would not provide CPU
topology in capabilities XML either. Even though CPU topology is known
and can be queried by virNodeGetInfo. With this patch, CPU topology will
always be provided in capabilities XML regardless on the presence of CPU
model.
src/qemu/qemu_capabilities.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c