Bug 885806
Summary: | RFE: support qxl multihead | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | James Harrion <jamesaharrisonuk> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | awilliam, berrange, crobinso, hbrock, jforbes, mike, never, rmcswain, uvsmtid, virt-maint |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-01-26 21:49:03 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
James Harrion
2012-12-10 16:55:42 UTC
That's expected, libvirt in F17 doesn't support multiple graphics connections, though other hypervisors do which is why virt-manager allows it. You can accomplish what you want using multihead qxl, see the 'heads' parameter here: http://libvirt.org/formatdomain.html#elementsVideo For how to change the guest XML by hand, see: http://wiki.libvirt.org/page/FAQ#What_is_the_.27virsh_edit.27_command_and_how_do_I_use_it.3F virt-manager doesn't have multihead support though, so use the standalone virt-viewer tool: sudo virt-viewer <vmname> I'm moving this bug to the upstream tracker, we can use it to track virt-manager multihead support *** Bug 1093902 has been marked as a duplicate of this bug. *** Hi Cole, I had totally forgotten about bug and have not responded. The article you pointed out talks about the number of heads. The XML for my Windows 7 machine has "heads=2". Does this mean two screens with need for two seperate Spice channels? I currently have one spice channel. Not sure what I need to do next. Many thanks, james Harrison (In reply to James Harrion from comment #3) > Hi Cole, > I had totally forgotten about bug and have not responded. The article you > pointed out talks about the number of heads. > > The XML for my Windows 7 machine has "heads=2". Does this mean two screens > with need for two seperate Spice channels? I currently have one spice > channel. > Ah I see, you did use the heads parameter, but indeed it only requires one <graphics type='spice'> connection. There's some more info here: http://people.freedesktop.org/~teuf/spice-doc/html/ch02s07.html But actually it talks about multiple qxl devices and not qxl heads. My understanding though is that using heads=2 and virt-viewer, and configuring the monitors inside the VM, you should see two display windows on the host machine. (In reply to Cole Robinson from comment #4) > But actually it talks about multiple qxl devices and not qxl heads. My > understanding though is that using heads=2 and virt-viewer, and configuring > the monitors inside the VM, you should see two display windows on the host > machine. Actually the 'heads' attribute in the XML is completely unused / irrelevant for SPICE / QXL. Only the VirtualBox virtualization driver needs that attribute to be set. So just ignore that value. With SPICE / QXL there are two ways to get multiple heads. The old way was to simply add multiple QXL graphics cards. The modern way, is to just have a single QXL graphics card in the guest, and have the SPICE guest agent installed in the guest OS. The number of heads exposed is then completely dynamic between 1 and 4. eg if you have SPICE guest agent running, and open GNOME display properties in the guest, you should be able to just turn on the extra monitors, at which point virt-viewer will open new windows for each. Alternatively you can turn them on/off from virt-viewer menus too. Oh, sorry for the misinformation, not sure where I got that heads= bit from. Hi, Since starting this bug I have upgraded to F20. I have tried the old method with two "Video QXL" devices. running virt-viewer, the 2nd monitor showed up saying "Waiting for display 2", and no display. Windows control panel monitors didnt register 2 monitors. The new way didnt work... James Its working. Using the old method.... I have two QXL Video definitions in my VM definition. Updated the QXL driver and it worked. Im now using the driver from: http://www.spice-space.org/download/windows/qxl/qxl-0.1-21 Close the ticket if needed. Thanks, James Harrison It works with virt-viewer, but virt-manager should still need extra support to actually access monitor > 1 I can't 'turn on' additional displays from GNOME Displays, but I can from virt-viewer, FWIW. The design is also a bit of problem for testing, for e.g., https://bugzilla.redhat.com/show_bug.cgi?id=725219 - if I can't 'turn on' the additional displays until anaconda has already started up, I can't test how it behaves on start up when multiple monitors are connected. *** Bug 1337745 has been marked as a duplicate of this bug. *** *** Bug 1339289 has been marked as a duplicate of this bug. *** I think the reality is that virt-manager is never going to really support qxl multihead. It would take a significant architecting of how we handle VM windows internally, for a usecase that is reasonably niche and that is already covered by virt-viewer. virt-manager's graphical console aims to cover most regular users, but when it comes to advanced spice stuff the answer is to use virt-viewer, which provides a lot more flexibility especially via command line options etc. Closing this as WONTFIX |