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

Jiri Denemark jdenemar at redhat.com
Thu Oct 18 14:05:10 UTC 2012


On Thu, Oct 18, 2012 at 07:53:15 -0600, Eric Blake wrote:
> 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.

Pushed, thanks.

Jirka




More information about the libvir-list mailing list