Bug 1356892
Summary: | Boot guest with vhostuser server mode, QEMU prompt 'Segmentation fault' after executing '(qemu)system_powerdown' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Marcel Kolaja <mkolaja> |
Component: | qemu-kvm-rhev | Assignee: | Marc-Andre Lureau <marcandre.lureau> |
Status: | CLOSED ERRATA | QA Contact: | Pei Zhang <pezhang> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.3 | CC: | chayang, dmaley, jherrman, juzhang, knoel, marcandre.lureau, michen, mrezanin, pezhang, sherold, virt-maint, xfu |
Target Milestone: | rc | Keywords: | Regression, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.3.0-31.el7_2.19 | Doc Type: | Bug Fix |
Doc Text: |
When a guest virtual machine was configured as a vhost-user server and the back end was restarted, the guest was not able to recover. With this update, the back end is able to discard the SET_VRING_BASE value and resume from index. This allows the guest to recover successfully in the described scenario.
|
Story Points: | --- |
Clone Of: | 1354090 | Environment: | |
Last Closed: | 2016-08-12 13:22:08 UTC | Type: | --- |
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: | 1354090 | ||
Bug Blocks: | 1355852, 1355853, 1355854, 1355855 |
Description
Marcel Kolaja
2016-07-15 08:34:25 UTC
7.2.z scratch build: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11354503 Verification: Versions:qemu-kvm-rhev-2.3.0-31.el7_2.19.x86_64 Steps: 1. Run a slirp/vlan in a background process # /usr/libexec/qemu-kvm \ -net none \ -net socket,vlan=0,udp=localhost:4444,localaddr=localhost:5555 \ -net user,vlan=0 2. Start qemu with vhost-user as server mode /usr/libexec/qemu-kvm -enable-kvm -m 1024 -smp 2 \ -object memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on \ -numa node,memdev=mem -mem-prealloc \ -monitor stdio \ -vga std -vnc :10 \ /home/pezhang/rhel7.3-1.qcow2 \ -chardev socket,id=char0,path=/tmp/vubr.sock,server \ -device virtio-net-pci,netdev=mynet1,mac=54:52:00:1a:2c:01 \ -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \ QEMU waiting for connection on: disconnected:unix:/tmp/vubr.sock,server 3. Start vubr as vhostuser client # ./vhost-user-bridge -c 4. After guest boot up, shutdown it. Qemu can quit well. (qemu) system_powerdown or in guest # shutdown -h now So this bug has been fixed well. Thank you. 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-1614.html |