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 1206030 - qemu coredump when boot with more qxl-vga device
Summary: qemu coredump when boot with more qxl-vga device
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1171942
Blocks: 1206037
TreeView+ depends on / blocked
 
Reported: 2015-03-26 07:31 UTC by Sibiao Luo
Modified: 2015-04-27 12:50 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1171942
: 1206037 (view as bug list)
Environment:
Last Closed: 2015-04-27 12:50:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Sibiao Luo 2015-03-26 07:32:54 UTC
host info:
# uname -r && rpm -q qemu-kvm-rhev
2.6.32-546.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.458.el6.x86_64

# /usr/libexec/qemu-kvm -name rhel7.2 -M pc -m 4G -cpu Opteron_G3,check -smp 4,sockets=4,cores=1,threads=1,maxcpus=4 -rtc base=utc,driftfix=slew -vga qxl -spice port=8000,disable-ticketing -device qxl-vga -monitor stdio
warning: host cpuid 0000_0001:ecx lacks requested flag 'monitor' [0x00000008]
warning: host cpuid 8000_0001:ecx flag restricted to guest 'svm' [0x00000004]
warning: host cpuid 0000_0001:ecx lacks requested flag 'monitor' [0x00000008]
warning: host cpuid 8000_0001:ecx flag restricted to guest 'svm' [0x00000004]
warning: host cpuid 0000_0001:ecx lacks requested flag 'monitor' [0x00000008]
warning: host cpuid 8000_0001:ecx flag restricted to guest 'svm' [0x00000004]
warning: host cpuid 0000_0001:ecx lacks requested flag 'monitor' [0x00000008]
warning: host cpuid 8000_0001:ecx flag restricted to guest 'svm' [0x00000004]
RAMBlock "vga.vram" already registered, abort!
Aborted (core dumped)

Core was generated by `/usr/libexec/qemu-kvm -name rhel7.2 -M pc -m 4G -cpu Opteron_G3,check -smp 4,so'.
Program terminated with signal 6, Aborted.
#0  0x00007f50b70d3625 in raise () from /lib64/libc.so.6

(gdb) bt
#0  0x00007f50b70d3625 in raise () from /lib64/libc.so.6
#1  0x00007f50b70d4e05 in abort () from /lib64/libc.so.6
#2  0x00007f50bb7dc434 in find_ram_offset (dev=<value optimized out>, name=<value optimized out>, size=<value optimized out>, host=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/exec.c:2687
#3  qemu_ram_alloc_from_ptr (dev=<value optimized out>, name=<value optimized out>, size=<value optimized out>, host=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/exec.c:2806
#4  0x00007f50bb88bf9d in vga_common_init (s=0x7f50bece8838, vga_ram_size=67108864) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/vga.c:2298
#5  0x00007f50bb8bd842 in qxl_init_primary (dev=0x7f50bece62a0) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qxl.c:2049
#6  0x00007f50bb713536 in pci_qdev_init (qdev=0x7f50bece62a0, base=0x7f50bbc45d40) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/pci.c:1659
#7  0x00007f50bb7a01a8 in qdev_init (dev=0x7f50bece62a0) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:285
#8  0x00007f50bb7a05bf in qdev_device_add (opts=0x7f50bd8401f0) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:260
#9  0x00007f50bb7010e9 in device_init_func (opts=<value optimized out>, opaque=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4803
#10 0x00007f50bb739f2a in qemu_opts_foreach (list=<value optimized out>, func=0x7f50bb7010e0 <device_init_func>, opaque=0x0, abort_on_failure=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-option.c:1084
#11 0x00007f50bb705cfc 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:6539
(gdb)

Comment 2 Gerd Hoffmann 2015-03-30 07:58:07 UTC
Multiple vga devices is not supported.
Use -device qxl not qxl-vga for a second qxl device.

The error handling could be more elegant,
but this is not important enough to be fixed for RHEL-6.

Comment 3 Gerd Hoffmann 2015-04-27 12:50:03 UTC
see comment #2


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