Bug 1352769
Summary: | QEMU core dumped when query memory devices in hmp after unplugging memdev of nvdimm | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Yumei Huang <yuhuang> |
Component: | qemu-kvm-rhev | Assignee: | Igor Mammedov <imammedo> |
Status: | CLOSED ERRATA | QA Contact: | Yumei Huang <yuhuang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.3 | CC: | chayang, hhuang, jinzhao, juzhang, knoel, mdeng, michen, mrezanin, qzhang, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | QEMU 2.8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 23:32:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yumei Huang
2016-07-05 03:16:38 UTC
Moving to 7.4 as it's too late for 7.3 for TP only feature fixes looks like fixed upstream, tried with 2.8, as result: (qemu) object_del mem0 object 'mem0' is in use, can not be deleted Pls retest once rebase to 2.8 is available Reproduce: qemu-kvm-rhev-2.6.0-29.el7 kernel-3.10.0-558.el7.x86_64 Steps: 1. Boot guest with nvdimm # /usr/libexec/qemu-kvm -m 4G,slots=40,maxmem=40G rhel74-64-virtio-scsi.qcow2 \ -netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d7,id=idlbq7eA,netdev=idinWyYp \ -monitor stdio -vnc :1 -serial unix:/tmp/console,server,nowait \ -object memory-backend-file,mem-path=/home/guest/test.img,id=mem0,size=2G,share -device nvdimm,memdev=mem0,id=nvdimm0 \ -M pc,nvdimm=on 2. hot-unplug the builtin object (qemu) object_del mem0 3. query memory devices in hmp (qemu) info memory-devices QEMU core dumped: (qemu) object_del mem0 (qemu) info memory-devices ** ERROR:qom/object.c:1585:object_get_canonical_path_component: assertion failed: (obj->parent != NULL) Aborted (core dumped) Verify: qemu-kvm-rhev-2.8.0-4.el7 kernel-3.10.0-558.el7.x86_64 With same steps as above, hmp output as expected and guest works well. (qemu) object_del mem0 object 'mem0' is in use, can not be deleted (qemu) info memory-devices Memory device [dimm]: "nvdimm0" addr: 0x140000000 slot: 0 node: 0 size: 2147483648 memdev: /objects/mem0 hotplugged: false hotpluggable: true So the bug is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2392 |