[libvirt] [PATCH] qemu: Always format CPU topology

Eric Blake eblake at redhat.com
Thu Oct 18 13:53:15 UTC 2012


On 10/18/2012 07:00 AM, Jiri Denemark wrote:
> 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 | 6 +++---
>  src/qemu/qemu_command.c      | 1 +
>  src/qemu/qemu_domain.c       | 4 +++-
>  src/qemu/qemu_driver.c       | 3 ++-
>  4 files changed, 9 insertions(+), 5 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121018/48e9f8eb/attachment-0001.sig>


More information about the libvir-list mailing list