Bug 688428
Summary: | qemu-kvm -no-kvm segfaults on pci_add | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | juzhang <juzhang> |
Component: | qemu-kvm | Assignee: | Alex Williamson <alex.williamson> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | chayang, jdenemar, juzhang, lihuang, michen, mkenneth, tburke, virt-maint, ykaul |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.151.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 644793 | Environment: | |
Last Closed: | 2011-05-19 11:31:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 580953 |
Comment 2
Alex Williamson
2011-03-17 01:16:18 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. 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 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 |