[libvirt] [PATCH] qemu: Fix segfault when CPU host is empty

Eric Blake eblake at redhat.com
Wed Feb 15 16:57:37 UTC 2012

On 02/15/2012 04:33 AM, Jiri Denemark wrote:
> In case libvirtd cannot detect host CPU model (which may happen if it
> runs inside a virtual machine), the daemon is likely to segfault when
> starting a new qemu domain.

Nested virt - what fun.

> It segfaults when domain XML asks for host
> (either model or passthrough) CPU or does not ask for any specific CPU
> model at all.
> ---
>  src/qemu/qemu_command.c |   24 ++++++++++++------------
>  1 files changed, 12 insertions(+), 12 deletions(-)


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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120215/fa8cd50a/attachment-0001.sig>

More information about the libvir-list mailing list