Bug 817078 - libvirtd crashing on rhel 6.3 beta vm
libvirtd crashing on rhel 6.3 beta vm
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jiri Denemark
Virtualization Bugs
Depends On:
  Show dependency treegraph
Reported: 2012-04-27 11:33 EDT by Derek Higgins
Modified: 2012-06-20 02:57 EDT (History)
9 users (show)

See Also:
Fixed In Version: libvirt-0.9.10-16.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 02:57:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Derek Higgins 2012-04-27 11:33:15 EDT
Description of problem:
While starting a vm on rhel 6.3 Beta (which itself is a vm), libvirtd crashes

Version-Release number of selected component (if applicable):

How reproducible:
every time

Steps to Reproduce:
1. create a rhel 6.3 vm
2. using this vm as a host attempt to start another vm
Actual results:
libvird crashes

Expected results:
nested vm should start

Additional info:

this symbolic link was created on the virtual host 
/usr/bin/qemu-system-x86_64 -> /usr/libexec/qemu-kvm

output from gdb attached to libvirtd
Program received signal SIGSEGV, Segmentation fault.
0x0000000000476292 in qemuBuildCpuArgStr (conn=0x7f0118000bd0, driver=0x7f0128006430, def=0x7f0128133590, monitor_chr=0x7f012804e5d0, monitor_json=true, qemuCaps=0x7f0128133a30, migrateFrom=0x0, migrateFd=-1,
    snapshot=0x0, vmop=VIR_NETDEV_VPORT_PROFILE_OP_CREATE) at qemu/qemu_command.c:3824
3824        cpuDataFree(host->arch, data);

As discussed with danpb this is fixed upstream

commit 2ccc4a607f6e122aff2e3b9d133d6e6b4b661a1e
Author: Jiri Denemark <jdenemar@redhat.com>
Date:   Wed Feb 15 12:18:25 2012 +0100

    qemu: Fix segfault when host CPU is empty
    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. It segfaults when domain XML asks for host
    (either model or passthrough) CPU or does not ask for any specific CPU
    model at all.
Comment 12 errata-xmlrpc 2012-06-20 02:57:50 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.