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 1180376 - qemu core dump when boot guest with 'qxl-vga' device and '-vga XX'
Summary: qemu core dump when boot guest with 'qxl-vga' device and '-vga XX'
Keywords:
Status: CLOSED DUPLICATE of bug 1171942
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-09 03:21 UTC by langfang
Modified: 2015-01-09 08:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-09 08:13:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description langfang 2015-01-09 03:21:15 UTC
Description of problem:

Not sure whether is bug or not,if i was wrong,please correct me.

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

Host:
# uname -r
3.10.0-220.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-2.1.2-17.el7.x86_64


How reproducible:

100%

Steps to Reproduce:
1.Boot guest with 
... -spice port=5900,seamless-migration=on,disable-ticketing,agent-mouse=on -device qxl-vga,id=video0,bus=pci.0,addr=0x6 -vga std...

2.
3.

Actual results:
RAMBlock "vga.vram" already registered, abort!

Program received signal SIGABRT, Aborted.
0x00007ffff09ba5d7 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff09ba5d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff09bbcc8 in abort () from /lib64/libc.so.6
#2  0x00005555555e10dc in qemu_ram_set_idstr (addr=<optimized out>, 
    name=0x5555565b6520 "vga.vram", dev=<optimized out>)
    at /usr/src/debug/qemu-2.1.2/exec.c:1244
#3  0x0000555555619613 in vmstate_register_ram (mr=mr@entry=0x5555565ba628, 
    dev=<optimized out>) at /usr/src/debug/qemu-2.1.2/savevm.c:1407
#4  0x0000555555626bb1 in vga_common_init (s=0x5555565ba618, obj=0x5555565b9a20, 
    global_vmstate=<optimized out>) at /usr/src/debug/qemu-2.1.2/hw/display/vga.c:2141
#5  0x000055555576086c in qxl_init_primary (dev=0x5555565b9a20) at hw/display/qxl.c:2068
#6  0x0000555555781507 in pci_qdev_init (qdev=0x5555565b9a20) at hw/pci/pci.c:1767
#7  0x000055555573ec64 in device_realize (dev=0x5555565b9a20, errp=0x7fffffffd9a0)
    at hw/core/qdev.c:183
#8  0x000055555573fda8 in device_set_realized (obj=<optimized out>, 
    value=<optimized out>, errp=0x7fffffffdac8) at hw/core/qdev.c:834
#9  0x00005555557bc4be in property_set_bool (obj=0x5555565b9a20, v=<optimized out>, 
    opaque=0x5555565320c0, name=<optimized out>, errp=0x7fffffffdac8)
    at qom/object.c:1473
#10 0x00005555557bec67 in object_property_set_qobject (obj=0x5555565b9a20, 
    value=<optimized out>, name=0x55555587ed70 "realized", errp=0x7fffffffdac8)
    at qom/qom-qobject.c:24
#11 0x00005555557bd880 in object_property_set_bool (obj=obj@entry=0x5555565b9a20, 
    value=value@entry=true, name=name@entry=0x55555587ed70 "realized", 
    errp=errp@entry=0x7fffffffdac8) at qom/object.c:888
#12 0x00005555556ccadf in qdev_device_add (opts=0x55555613e330) at qdev-monitor.c:554
#13 0x00005555556deae9 in device_init_func (opts=<optimized out>, 
    opaque=<optimized out>) at vl.c:2366
#14 0x000055555584bc3b in qemu_opts_foreach (list=<optimized out>, 
    func=func@entry=0x5555556deae0 <device_init_func>, opaque=opaque@entry=0x0, 
---Type <return> to continue, or q <return> to quit---
    abort_on_failure=abort_on_failure@entry=1) at util/qemu-option.c:1072
#15 0x00005555555da068 in main (argc=<optimized out>, argv=<optimized out>, 
    envp=<optimized out>) at vl.c:4488
(gdb) 


Expected results:


Additional info:
1)My cli:
 /usr/libexec/qemu-kvm -S -cpu SandyBridge,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_time -m 4G -smp 4 -name VM -uuid `uuidgen` -no-kvm-pit-reinjection -monitor stdio -boot menu=on,order=d -qmp tcp:0:4450,server,nowait -device nec-usb-xhci,id=usb1,bus=pci.0,addr=0x8 -device virtio-balloon-pci,bus=pci.0,id=balloon0,addr=0x9 -drive file=/usr/share/virtio-win/virtio-win.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/root/test.qcow2,if=none,id=drive-virtio-disk1,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,id=tap1,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -device virtio-net-pci,netdev=tap1,mac=00:10:28:2c:45:26,bus=pci.0,addr=0x4,id=net0 -device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=0x7 -drive file=/home/win7-64-sp1-copy.qcow2,if=none,id=drive-data-disk,cache=none,format=qcow2,aio=native,werror=stop,rerror=stop -device scsi-hd,drive=drive-data-disk,bus=scsi1.0,id=data-disk -qmp tcp:0:5556,server,nowait -spice port=5900,seamless-migration=on,disable-ticketing,agent-mouse=on -device qxl-vga,id=video0,bus=pci.0,addr=0x6 -vga std

Comment 2 langfang 2015-01-09 08:13:14 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1171942

https://bugzilla.redhat.com/show_bug.cgi?id=1180376

According to the log, same issue.

*** This bug has been marked as a duplicate of bug 1171942 ***


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