Bug 1362019
Summary: | Crashes when using query-hotpluggable-cpus with pseries-rhel7.2.0 machine type | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrea Bolognani <abologna> |
Component: | qemu-kvm-rhev | Assignee: | David Gibson <dgibson> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | knoel, mrezanin, qzhang, virt-maint, xuhan, xuma |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.6.0-20.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 21:27:49 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1288337 |
Description
Andrea Bolognani
2016-08-01 07:56:22 UTC
I've confirmed the same problem exists upstream (for pseries-2.6 and earlier machine types). I've sent an upstream patch, and will backport it once merged. A fix for the upstream version of this problem is now merged upstream. I've brewed a downstream fix at: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11523275 Fix included in qemu-kvm-rhev-2.6.0-20.el7 Reproduced the issue on old version: Version-Release number of selected component (if applicable): kernel-3.10.0-470.el7.ppc64le qemu-kvm-rhev-2.6.0-17.el7.ppc64le Steps to Reproduce: 1.Boot up a guest with command: /usr/libexec/qemu-kvm \ -name test \ -M pseries-rhel7.2.0 \ -smp 1,maxcpus=3,sockets=1,cores=1,threads=1 \ -m 1024 \ -monitor stdio \ -vnc :20 \ -qmp tcp:0:4444,server,nowait \ -device virtio-scsi-pci,bus=pci.0 \ -device scsi-hd,id=scsi-hd0,drive=scsi-hd0-dr0,bootindex=0 \ -drive file=/root/RHEL-7.2.qcow2,if=none,id=scsi-hd0-dr0,format=qcow2,cache=none \ -device virtio-net-pci,netdev=net0,id=nic0,mac=52:54:00:c4:e7:84 \ -netdev tap,id=net0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,vhost=on \ 2.check hotpluggable cpus in qmp: { "execute": "qmp_capabilities"} {"return": {}} {"execute": "query-hotpluggable-cpus"} Connection closed by foreign host. Actual results: Guest crashs with "Segmentation fault" error Verified the issue on the latest build: Version-Release number of selected component (if applicable): kernel-3.10.0-470.el7.ppc64le qemu-kvm-rhev-2.6.0-20.el7.ppc64le Steps to Reproduce: 1.The same steps as above 2.check hotpluggable cpus in qmp: { "execute": "qmp_capabilities"} {"return": {}} {"execute": "query-hotpluggable-cpus"} {"error": {"class": "GenericError", "desc": "The feature 'query-hotpluggable-cpus' is not enabled"}} Actual results: guest runs normally ,and it return "The feature 'query-hotpluggable-cpus' is not enabled" after query hotpluggable cpus command. Base on the above results ,the bug has been 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://rhn.redhat.com/errata/RHBA-2016-2673.html |