Bug 1005037
Summary: | When using “-vga qxl” together with “-display vnc=:5” or “-display sdl” qemu displays pixel garbage | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Gerd Hoffmann <kraxel> | ||||||||
Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 6.5 | CC: | amit.shah, areis, berrange, bsarathy, cfergeau, chayang, dblechte, dwmw2, itamar, jan.kratochvil, juzhang, kraxel, mazhang, mfabian, michen, mkenneth, pbonzini, qzhang, rbalakri, rjones, scottt.tw, tlavigne, virt-maint | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | qemu-kvm-0.12.1.2-2.419.el6 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 948717 | Environment: | |||||||||
Last Closed: | 2014-10-14 06:50:35 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: | 948717 | ||||||||||
Bug Blocks: | 1005036 | ||||||||||
Attachments: |
|
Description
Gerd Hoffmann
2013-09-06 05:21:38 UTC
patches posted. Can not reproduce this issue: First: host kernel: 2.6.32-417.el6.x86_64 qemu-kvm-0.12.1.2-2.400.el6.x86_64 Command line as follows: ionice -c 3 /usr/libexec/qemu-kvm -M pc -nodefaults -cpu SandyBridge -enable-kvm -m 4G -smp 2,sockets=1,cores=2,threads=1 -name test -rtc base=localtime,clock=host,driftfix=slew -k en-us -boot menu=on -vga qxl -vnc :5 -monitor stdio ... Second: host kernel: 3.9.9-201.fc18.x86_64 qemu-kvm-1.2.2-13.fc18.x86_64 Command line as follows: ionice -c 3 qemu-kvm -enable-kvm -m 2048M -smp 1 -drive file=RHEL_65_64.qcow2,media=disk,cache=unsafe -localtime -boot c -vga qxl -display sdl -monitor stdio Actual Results: Only show pixel garbage before login screen, but very fast passed. the same result with “-vga std” or “-vga cirrus”. Re #3: RHEL-6 doesn't trigger it, try RHEL-7 or Fedora-19 as guest. Created attachment 798084 [details]
pixel garbage
Reproduce with host kernel 2.6.32-417.el6.x86_64
guest rhel7.0
The result is pixel garbage, see attached "attachment 798084 [details]"
Reproduce this bug on qemu-kvm-0.12.1.2-2.402.el6.x86_64. Host: qemu-kvm-0.12.1.2-2.402.el6.x86_64 kernel-2.6.32-477.el6.x86_64 Guest: RHEL7-64 kernel-3.10.0-121.el7.x86_64 Cli: /usr/libexec/qemu-kvm \ -M pc \ -cpu SandyBridge \ -m 4G \ -smp 4,sockets=2,cores=2,threads=1,maxcpus=160 \ -enable-kvm \ -name rhel6.6 \ -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \ -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \ -k en-us \ -rtc base=localtime,clock=host,driftfix=slew \ -nodefaults \ -monitor stdio \ -qmp tcp:0:6666,server,nowait \ -boot menu=on,strict=on \ -bios /usr/share/seabios/bios.bin \ -chardev socket,id=seabios,path=/tmp/seabios,server,nowait \ -device isa-debugcon,chardev=seabios,iobase=0x402 \ -monitor unix:/tmp/guest-sock,server,nowait \ -vga qxl \ -vnc :0 \ -drive file=/home/rhel7-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \ -device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \ Result: Display pixel garbage. Created attachment 910666 [details]
snapshot of guest
Test this bug on qemu-kvm-0.12.1.2-2.428.el6.x86_64, Guest hang during boot, and display black, will attach the screenshot. Created attachment 910670 [details]
screenshot
Hi Gerd, 1. Try reproduce this bug with "qxl+vnc" as bug 948717#c2 and 948717#c4 mentioned, since "-display" option has been removed from qemu-kvm, Please help check comment#11 and comment#13, if any problem please correct me. 2. Does qxl+vnc support officially, we need test this scenario in rhel6.6? Thanks, Mazhang. Screenshot shows two text console lines. No pixel garbage -> bug is fixed. Guest not booting is most likely a separate (guest) bug. Does that happen with vnc only or is spice affected too? Just have a try, spice+qxl works well. 1. According to comment#11 comment#13 and comment#16 setting this bug to verified. 2. File a new bug 1112078 against guest desktop booting fails. 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. http://rhn.redhat.com/errata/RHBA-2014-1490.html |