Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1011043

Summary: Virt-viewer shows more display choices than displays that are configured.
Product: Red Hat Enterprise Linux 6 Reporter: Bill Sanford <bsanford>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, bsanford, cfergeau, codong, dblechte, hyao, lcui, marcandre.lureau, mkrcmari, pvine, tzheng, vipatel, zsong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 20:49:23 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:

Description Bill Sanford 2013-09-23 14:16:58 UTC
Description of problem:
When I have the settings of "-vga qxl -device qxl -device qxl" in the virt-viewer menu, I have "Display" 1-4 in the View -> Displays showing and I can choose "Display 4" as a valid display option, when in fact, I should only have 3 displays. When I change the settings to "-vga qxl -device qxl" I get the appropriate number of displays in the virt-viewer menu.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.6-7.el6.x86_64
rhev-guest-tools-iso-3.3-5.noarch.rpm
RHEL6.5-20130912.n.2
rhev-hypervisor6-6.5-20130910.2.el6ev.noarch.rpm
Windows 7x86 VM


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

These are the command line arguments I am running for 4 displays.

/usr/libexec/qemu-kvm -m 2048 -spice port=3001,disable-ticketing,addr=127.0.0.1,seamless-migration=on -vga qxl -device qxl -device qxl -device qxl -global qxl-vga.vram_size=67108864 -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3,filter='0x08:-1:-1:-1:1|-1:-1:-1:-1:0' -readconfig /etc/qemu/ich9-ehci-uhci.cfg /home/images/Win7x86.img -monitor stdio 

/usr/libexec/qemu-kvm -m 2048 -spice port=3002,disable-ticketing,addr=127.0.0.1,seamless-migration=on -vga qxl -device qxl -device qxl -device qxl -global qxl-vga.vram_size=67108864 -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3,filter='0x08:-1:-1:-1:1|-1:-1:-1:-1:0' -readconfig /etc/qemu/ich9-ehci-uhci.cfg /home/images/Win7x86.img -monitor stdio -incoming tcp:127.0.0.1:4444 

remote-viewer spice://127.0.0.1?port=3001

Comment 1 CongDong 2013-10-25 04:17:58 UTC
Hi,
You mean that you configure the guest with only 3 video devices, but there are 4 displays in the menu list, right?

But I can not reproduce the bug with:
virt-viewer-0.5.6-7.el6.x86_64 or virt-viewer-0.5.6-8.el6.x86_64

Steps:
1. Install a win7 guest with spice+qxl+spicevmc
2. Configure the guest with 3 qxl video device.
3. # virt-viewer win7, check the menu list View-> Display

Result:
There is noly 3 displays.

Comment 2 Bill Sanford 2013-10-31 13:50:47 UTC
CongDong, there are multiple bugs open on multi-monitor. A co-worker in Westford also sees this behavior. I will verify this once it is "ON_QA."

Comment 4 Marc-Andre Lureau 2014-03-12 20:49:23 UTC
(In reply to Bill Sanford from comment #2)
> CongDong, there are multiple bugs open on multi-monitor. A co-worker in
> Westford also sees this behavior. I will verify this once it is "ON_QA."

Bill, feel free to reopen when you have more details.