Bug 1075139
Summary: | multi-monitor doesn't work with a RHEL 7 guest. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Bill Sanford <bsanford> | ||||||
Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.6 | CC: | bsanford, bsarathy, cfergeau, chayang, ckannan, ederevea, juzhang, kraxel, marcandre.lureau, mazhang, michen, mkenneth, mkrcmari, qzhang, rbalakri, rhod, rshutt, virt-maint, yeylon | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | qemu-kvm-0.12.1.2-2.429.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-10-14 06:56:32 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: | 1052176, 1111667 | ||||||||
Attachments: |
|
Created attachment 873185 [details]
Screen shot of the RHEL 7 client with two displays
Why do you think this is a client bug if it's specific to RHEL7 guest? Please move to right component / distrib if it's specific. thanks Marc-Andre, I am not sure if it is a bug in the mingw-virt-viewer, I defaulted to assigning it to you since you would have a much better handle on if it is or not. qemu needs some monitorconfig bits to support rhel7 & fedora 20 (for the drm/kms driver) Reproduced this bug. Host: qemu-kvm-0.12.1.2-2.422.el6.x86_64 gpxe-roms-qemu-0.9.7-6.10.el6.noarch qemu-img-0.12.1.2-2.422.el6.x86_64 qemu-kvm-tools-0.12.1.2-2.422.el6.x86_64 qemu-kvm-debuginfo-0.12.1.2-2.422.el6.x86_64 kernel-2.6.32-431.11.2.el6.x86_64 Guest: RHEL-7.0-20140226.0 Client: RHEL-7.0-64 virt-viewer-0.5.7-7.el7.x86_64 Steps to reproduce: 1. Start vm: /usr/libexec/qemu-kvm \ -M pc \ -cpu SandyBridge \ -m 2G \ -smp 4,sockets=2,cores=2,threads=1,maxcpus=16 \ -enable-kvm \ -name rhel7-64 \ -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:6667,server,nowait \ -boot menu=on \ -bios /usr/share/seabios/bios.bin \ -monitor unix:/tmp/guest-sock,server,nowait \ -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 \ -netdev tap,id=hostnet0 \ -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:39:13:2c \ -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x7 \ -chardev socket,id=channel0,host=127.0.0.1,port=12345,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=channel0,id=channel0,name=com.redhat.rhevm.vdsm \ -chardev spicevmc,id=charchannel1,name=vdagent \ -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 \ -spice port=5930,disable-ticketing \ -vga qxl \ 2. Connect to guest with full screen mode by remote-viewer (client has two monitors) # remote-viewer spice://ip_address:5930 --full-screen=auto-conf Result: 1. The second monitor on client not display guest windows. 2. Execute "xrandr" in guest Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 Virtual-0 connected primary 1024x768+0+0 0mm x 0mm 1024x768 59.9*+ 1920x1200 59.9 1920x1080 60.0 1600x1200 59.9 1680x1050 60.0 1400x1050 60.0 1280x1024 59.9 1440x900 59.9 1280x960 59.9 1280x854 59.9 1280x800 59.8 1280x720 59.9 1152x768 59.8 800x600 59.9 848x480 59.7 720x480 59.7 640x480 59.4 Virtual-1 disconnected Virtual-2 disconnected Virtual-3 disconnected Expected results: Virtual-1 should be connected. commit a639ab0482952c13c896f3e555d717caf98f138b & friends new scratch build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7324613 patches posted. I am setting up some RHEV-M instances this week and will retest. Gerd, do you plan to move it to MODIFIED/QA? It would be really nice to have in 6.6, thanks Patch has been posted to rhvirt-patches for review. Hasn't yet collected the three acks needed. Here it: http://post-office.corp.redhat.com/archives/rhvirt-patches/2014-April/msg00241.html Acks welcome. Appearently I forgot to Cc: spice-list, so it didn't got attention from spice folks :( Fix included in qemu-kvm-0.12.1.2-2.429.el6 Miroslav, can we also get a build of qemu-kvm-rhev with the same fix? I want to test this on RHEV as well as that product is also currently affected by the bug. Reproduce this bug on qemu-kvm-0.12.1.2-2.428.el6.x86_64. The second monitor didn't shows guest screen. Verify this bug on qemu-kvm-0.12.1.2-2.430.el6.x86_64. Host: qemu-kvm-tools-0.12.1.2-2.430.el6.x86_64 qemu-img-0.12.1.2-2.430.el6.x86_64 qemu-kvm-debuginfo-0.12.1.2-2.430.el6.x86_64 gpxe-roms-qemu-0.9.7-6.11.el6.noarch qemu-kvm-0.12.1.2-2.430.el6.x86_64 kernel-2.6.32-489.el6.x86_64 spice-server-0.12.4-9.el6.x86_64 Guest: kernel-3.10.0-123.el7.x86_64 spice-vdagent-0.14.0-7.el7.x86_64 Client: virt-viewer-0.6.0-9.el6.x86_64 Cli: /usr/libexec/qemu-kvm \ -M pc \ -cpu SandyBridge \ -m 2G \ -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 \ -bios /usr/share/seabios/bios.bin \ -chardev socket,id=seabios,path=/tmp/seabios0,server,nowait \ -device isa-debugcon,chardev=seabios,iobase=0x402 \ -monitor unix:/tmp/socket0,server,nowait -device sga \ -vga qxl \ -spice port=5900,disable-ticketing \ -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 \ -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x7 \ -chardev socket,id=channel0,host=127.0.0.1,port=12345,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=channel0,id=channel0,name=com.redhat.rhevm.vdsm \ -chardev spicevmc,id=charchannel1,name=vdagent \ -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 \ Result: Two qxl device connected, guest screen can able display in the second monitor. Screen 0: minimum 320 x 200, current 2944 x 1080, maximum 8192 x 8192 Virtual-0 connected primary 1024x768+0+0 0mm x 0mm 1024x768 59.9*+ 1920x1200 59.9 1920x1080 60.0 1600x1200 59.9 1680x1050 60.0 1400x1050 60.0 1280x1024 59.9 1440x900 59.9 1280x960 59.9 1280x854 59.9 1280x800 59.8 1280x720 59.9 1152x768 59.8 800x600 59.9 848x480 59.7 720x480 59.7 640x480 59.4 Virtual-1 connected 1920x1080+1024+0 0mm x 0mm 1920x1080 60.0*+ 1920x1200 59.9 1600x1200 59.9 1680x1050 60.0 1400x1050 60.0 1280x1024 59.9 1440x900 59.9 1280x960 59.9 1280x854 59.9 1280x800 59.8 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x600 59.9 848x480 59.7 720x480 59.7 640x480 59.4 Virtual-2 disconnected Virtual-3 disconnected So this bug has been fixed. *** Bug 1111667 has been marked as a duplicate of this bug. *** 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 |
Created attachment 873183 [details] This is the screenshot of RHEV-M and RHEL 7 guest Description of problem: I have RHEV-M 3.4 installed and have added a Windows 7, RHEL 6.5 and a RHEL 7 guest added to RHEV-M. The second display is in a "Waiting for display 2" in a RHEL 7 VM and I can't go through the settings in RHEL 7 to add the second display. Version-Release number of selected component (if applicable): RHEV-M 3.4 (av2) & Two RHEL 6.5 hosts RHEL-7.0-20140226.0 Windows 7x64 client RHEL 7 guest RHEL-7.0-20140226.0 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Only one display shows when two are configured. Expected results: Two displays show when two are configured. Additional info: