Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Reproduced on qemu-kvm-1.5.3-131.el7.x86_64
Following is the test result
qemu-kvm: /builddir/build/BUILD/qemu-1.5.3/savevm.c:1724: register_savevm_live: Assertion `!se->compat || se->instance_id == 0' failed.
(gdb) bt
#0 0x00007fffed7931d7 in raise () at /lib64/libc.so.6
#1 0x00007fffed7948c8 in abort () at /lib64/libc.so.6
#2 0x00007fffed78c146 in __assert_fail_base () at /lib64/libc.so.6
#3 0x00007fffed78c1f2 in () at /lib64/libc.so.6
#4 0x0000555555778f5c in register_savevm_live (dev=dev@entry=0x55555aa3f1e8, idstr=idstr@entry=0x5555558638d8 "virtio-blk", instance_id=<optimized out>, version_id=version_id@entry=2, ops=<optimized out>, opaque=opaque@entry=0x55555aa3f1e8)
at /usr/src/debug/qemu-1.5.3/savevm.c:1724
#5 0x0000555555778fc3 in register_savevm (dev=dev@entry=0x55555aa3f1e8, idstr=idstr@entry=0x5555558638d8 "virtio-blk", instance_id=<optimized out>, version_id=version_id@entry=2, save_state=save_state@entry=0x5555557370c0 <virtio_blk_save>, load_state=0x55555aa3f1e8,
load_state@entry=0x555555737d40 <virtio_blk_load>, opaque=opaque@entry=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/savevm.c:1741
#6 0x0000555555736fe6 in virtio_blk_device_init (vdev=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/hw/block/virtio-blk.c:742
#7 0x0000555555764366 in virtio_device_init (qdev=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/hw/virtio/virtio.c:1203
#8 0x000055555563f714 in device_realize (dev=0x55555aa3f1e8, err=0x7fffffffc850) at hw/core/qdev.c:178
#9 0x000055555564067b in device_set_realized (obj=0x55555aa3f1e8, value=<optimized out>, err=0x7fffffffc940) at hw/core/qdev.c:693
#10 0x00005555556e85de in property_set_bool (obj=0x55555aa3f1e8, v=<optimized out>, opaque=0x55555aad4390, name=<optimized out>, errp=0x7fffffffc940) at qom/object.c:1302
#11 0x00005555556ea6b7 in object_property_set_qobject (obj=0x55555aa3f1e8, value=<optimized out>, name=0x5555558435ca "realized", errp=0x7fffffffc940) at qom/qom-qobject.c:24
#12 0x00005555556e98a0 in object_property_set_bool (obj=obj@entry=0x55555aa3f1e8, value=value@entry=true, name=name@entry=0x5555558435ca "realized", errp=errp@entry=0x7fffffffc940) at qom/object.c:853
#13 0x000055555563faea in qdev_init (dev=dev@entry=0x55555aa3f1e8) at hw/core/qdev.c:163
#14 0x00005555556a352b in virtio_blk_pci_init (vpci_dev=0x55555aa3ea00) at hw/virtio/virtio-pci.c:1091
#15 0x00005555556a38b2 in virtio_pci_init (pci_dev=<optimized out>) at hw/virtio/virtio-pci.c:1027
#16 0x0000555555677032 in pci_qdev_init (qdev=0x55555aa3ea00) at hw/pci/pci.c:1723
#17 0x000055555563f714 in device_realize (dev=0x55555aa3ea00, err=0x7fffffffca70) at hw/core/qdev.c:178
#18 0x000055555564067b in device_set_realized (obj=0x55555aa3ea00, value=<optimized out>, err=0x7fffffffcb98) at hw/core/qdev.c:693
#19 0x00005555556e85de in property_set_bool (obj=0x55555aa3ea00, v=<optimized out>, opaque=0x55555aad4190, name=<optimized out>, errp=0x7fffffffcb98) at qom/object.c:1302
#20 0x00005555556ea6b7 in object_property_set_qobject (obj=0x55555aa3ea00, value=<optimized out>, name=0x5555558435ca "realized", errp=0x7fffffffcb98) at qom/qom-qobject.c:24
#21 0x00005555556e98a0 in object_property_set_bool (obj=obj@entry=0x55555aa3ea00, value=value@entry=true, name=name@entry=0x5555558435ca "realized", errp=errp@entry=0x7fffffffcb98) at qom/object.c:853
---Type <return> to continue, or q <return> to quit---
#22 0x00005555556d532f in qdev_device_add (opts=0x555556cd3ea0) at qdev-monitor.c:556
#23 0x0000555555714e39 in device_init_func (opts=<optimized out>, opaque=<optimized out>) at vl.c:2297
#24 0x000055555582de8b in qemu_opts_foreach (list=<optimized out>, func=func@entry=
0x555555714e30 <device_init_func>, opaque=opaque@entry=0x0, abort_on_failure=abort_on_failure@entry=1) at util/qemu-option.c:1198
#25 0x00005555555ca1d1 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4253
Thanks
Jing Zhao
Comment 11Dr. David Alan Gilbert
2017-02-14 10:27:11 UTC
*** This bug has been marked as a duplicate of bug 1342434 ***
Reproduced on qemu-kvm-1.5.3-131.el7.x86_64 Following is the test result qemu-kvm: /builddir/build/BUILD/qemu-1.5.3/savevm.c:1724: register_savevm_live: Assertion `!se->compat || se->instance_id == 0' failed. (gdb) bt #0 0x00007fffed7931d7 in raise () at /lib64/libc.so.6 #1 0x00007fffed7948c8 in abort () at /lib64/libc.so.6 #2 0x00007fffed78c146 in __assert_fail_base () at /lib64/libc.so.6 #3 0x00007fffed78c1f2 in () at /lib64/libc.so.6 #4 0x0000555555778f5c in register_savevm_live (dev=dev@entry=0x55555aa3f1e8, idstr=idstr@entry=0x5555558638d8 "virtio-blk", instance_id=<optimized out>, version_id=version_id@entry=2, ops=<optimized out>, opaque=opaque@entry=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/savevm.c:1724 #5 0x0000555555778fc3 in register_savevm (dev=dev@entry=0x55555aa3f1e8, idstr=idstr@entry=0x5555558638d8 "virtio-blk", instance_id=<optimized out>, version_id=version_id@entry=2, save_state=save_state@entry=0x5555557370c0 <virtio_blk_save>, load_state=0x55555aa3f1e8, load_state@entry=0x555555737d40 <virtio_blk_load>, opaque=opaque@entry=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/savevm.c:1741 #6 0x0000555555736fe6 in virtio_blk_device_init (vdev=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/hw/block/virtio-blk.c:742 #7 0x0000555555764366 in virtio_device_init (qdev=0x55555aa3f1e8) at /usr/src/debug/qemu-1.5.3/hw/virtio/virtio.c:1203 #8 0x000055555563f714 in device_realize (dev=0x55555aa3f1e8, err=0x7fffffffc850) at hw/core/qdev.c:178 #9 0x000055555564067b in device_set_realized (obj=0x55555aa3f1e8, value=<optimized out>, err=0x7fffffffc940) at hw/core/qdev.c:693 #10 0x00005555556e85de in property_set_bool (obj=0x55555aa3f1e8, v=<optimized out>, opaque=0x55555aad4390, name=<optimized out>, errp=0x7fffffffc940) at qom/object.c:1302 #11 0x00005555556ea6b7 in object_property_set_qobject (obj=0x55555aa3f1e8, value=<optimized out>, name=0x5555558435ca "realized", errp=0x7fffffffc940) at qom/qom-qobject.c:24 #12 0x00005555556e98a0 in object_property_set_bool (obj=obj@entry=0x55555aa3f1e8, value=value@entry=true, name=name@entry=0x5555558435ca "realized", errp=errp@entry=0x7fffffffc940) at qom/object.c:853 #13 0x000055555563faea in qdev_init (dev=dev@entry=0x55555aa3f1e8) at hw/core/qdev.c:163 #14 0x00005555556a352b in virtio_blk_pci_init (vpci_dev=0x55555aa3ea00) at hw/virtio/virtio-pci.c:1091 #15 0x00005555556a38b2 in virtio_pci_init (pci_dev=<optimized out>) at hw/virtio/virtio-pci.c:1027 #16 0x0000555555677032 in pci_qdev_init (qdev=0x55555aa3ea00) at hw/pci/pci.c:1723 #17 0x000055555563f714 in device_realize (dev=0x55555aa3ea00, err=0x7fffffffca70) at hw/core/qdev.c:178 #18 0x000055555564067b in device_set_realized (obj=0x55555aa3ea00, value=<optimized out>, err=0x7fffffffcb98) at hw/core/qdev.c:693 #19 0x00005555556e85de in property_set_bool (obj=0x55555aa3ea00, v=<optimized out>, opaque=0x55555aad4190, name=<optimized out>, errp=0x7fffffffcb98) at qom/object.c:1302 #20 0x00005555556ea6b7 in object_property_set_qobject (obj=0x55555aa3ea00, value=<optimized out>, name=0x5555558435ca "realized", errp=0x7fffffffcb98) at qom/qom-qobject.c:24 #21 0x00005555556e98a0 in object_property_set_bool (obj=obj@entry=0x55555aa3ea00, value=value@entry=true, name=name@entry=0x5555558435ca "realized", errp=errp@entry=0x7fffffffcb98) at qom/object.c:853 ---Type <return> to continue, or q <return> to quit--- #22 0x00005555556d532f in qdev_device_add (opts=0x555556cd3ea0) at qdev-monitor.c:556 #23 0x0000555555714e39 in device_init_func (opts=<optimized out>, opaque=<optimized out>) at vl.c:2297 #24 0x000055555582de8b in qemu_opts_foreach (list=<optimized out>, func=func@entry= 0x555555714e30 <device_init_func>, opaque=opaque@entry=0x0, abort_on_failure=abort_on_failure@entry=1) at util/qemu-option.c:1198 #25 0x00005555555ca1d1 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4253 Thanks Jing Zhao