Bug 1136288
| Summary: | PPC64: qemu segfault at startup on VM with virtio channels | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Francesco Romani <fromani> | ||||
| Component: | qemu-kvm | Assignee: | David Gibson <dgibson> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | hannsj_uhl, hhuang, juzhang, knoel, michal.skrivanek, michen, rbalakri, virt-maint | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | ppc64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-11-24 11:54:21 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: | 1122979 | ||||||
| Attachments: |
|
||||||
|
Description
Francesco Romani
2014-09-02 09:39:53 UTC
*** Bug 1136227 has been marked as a duplicate of this bug. *** It seems the issue is actually related to virtio channels more than network.
If I run this script:
----[ cut here ]----
#!/bin/bash
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-ppc64 \
-name networkless \
-S \
-machine pseries,accel=kvm,usb=off \
-m 1024 \
-realtime mlock=off \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid d9e6a842-ea6f-4bae-ace5-0b0c6d0701ba \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/networkless.monitor,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=2014-09-02T09:31:16,driftfix=slew \
-no-shutdown \
-device pci-ohci,id=usb,bus=pci.0,addr=0x2 \
-device spapr-vscsi,id=scsi0,reg=0x2000 \
-device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=0x1 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-drive if=none,id=drive-scsi0-0-0-0,readonly=on,format=raw,serial= \
-device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 \
-device usb-tablet,id=input0 \
-device usb-kbd,id=input1 \
-device usb-mouse,id=input2 \
-vnc 0:0,password \
-k en-us \
-device VGA,id=video0,bus=pci.0,addr=0x6 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 \
-chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/d9e6a842-ea6f-4bae-ace5-0b0c6d0701ba.com.redhat.rhevm.vdsm,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm \
-chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/d9e6a842-ea6f-4bae-ace5-0b0c6d0701ba.org.qemu.guest_agent.0,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 \
-usbdevice keyboard
----[ cut here ]----
QEMU segfaults on startup. However, if I drop these four options
-chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/d9e6a842-ea6f-4bae-ace5-0b0c6d0701ba.com.redhat.rhevm.vdsm,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm \
-chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/d9e6a842-ea6f-4bae-ace5-0b0c6d0701ba.org.qemu.guest_agent.0,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 \
QEMU starts correctly.
I'm assuming this actually occurred with a PowerKVM host? In which case this is misfiled against RHEL. We're working on getting a proper bugzilla component for the PowerKVM hypervisor. In the meantime, if this is fixed in current PowerKVM, can we close as CURRENTRELEASE? Fixed in PowerKVM's QEMU as of "RHEV for Power" GA version. |