RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 688428 - qemu-kvm -no-kvm segfaults on pci_add
Summary: qemu-kvm -no-kvm segfaults on pci_add
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Alex Williamson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580953
TreeView+ depends on / blocked
 
Reported: 2011-03-17 01:09 UTC by juzhang
Modified: 2013-01-09 23:39 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.151.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 644793
Environment:
Last Closed: 2011-05-19 11:31:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 11:20:36 UTC

Comment 2 Alex Williamson 2011-03-17 01:16:18 UTC
Needs trivial backport of 420fe74769cc67baec6f3d962dc054e2972ca3ae

Comment 7 Chao Yang 2011-03-28 04:11:47 UTC
Reproduced on qemu-kvm-0.12.1.2-2.150.el6.x86_64 when trying to assign a MSI capability nic card to guest with -no-kvm option.
(gdb) bt
#0  kvm_ioctl (s=0x0, type=44547) at /usr/src/debug/qemu-kvm-0.12.1.2/kvm-all.c:871
#1  0x000000000042cea2 in kvm_check_extension (s=<value optimized out>, extension=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/kvm-all.c:396
#2  0x0000000000473fbf in assign_device (pci_dev=0x2827a90) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/device-assignment.c:902
#3  assigned_initfn (pci_dev=0x2827a90) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/device-assignment.c:1703
#4  0x000000000041b876 in pci_qdev_init (qdev=0x2827a90, base=0x8d5b00) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/pci.c:1472
#5  0x00000000004c44f8 in qdev_init (dev=0x2827a90) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:286
#6  0x00000000004c4939 in qdev_device_add (opts=0x1228f90) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:261
#7  0x0000000000409329 in device_init_func (opts=<value optimized out>, opaque=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:5158
#8  0x000000000047a4ba in qemu_opts_foreach (list=<value optimized out>, func=0x409320 <device_init_func>, opaque=0x0, 
    abort_on_failure=<value optimized out>) at qemu-option.c:943
#9  0x000000000040e658 in main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6675

-----------------------------------------------------------------
Verified with qemu-kvm-0.12.1.2-2.152.el6.x86_64
# /usr/libexec/qemu-kvm -M rhel6.1.0 -no-kvm ... pci-assign,host=01:00.1,id=pf
Using CPU model "cpu64-rhel6"
Using CPU model "cpu64-rhel6"
Using CPU model "cpu64-rhel6"
Using CPU model "cpu64-rhel6"
qemu-kvm: -device pci-assign,host=01:00.1,id=pf: pci-assign: error: requires KVM support
qemu-kvm: -device pci-assign,host=01:00.1,id=pf: Device 'pci-assign' could not be initialized

So, this issue got fixed.

Comment 9 errata-xmlrpc 2011-05-19 11:31:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Comment 10 errata-xmlrpc 2011-05-19 13:02:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html


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