summaryrefslogtreecommitdiff
path: root/virtManager
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2022-02-27 21:14:09 -0500
committerCole Robinson <crobinso@redhat.com>2022-03-01 08:14:44 -0500
commit990b932c17729fbb7c0c710d41090dff1582f927 (patch)
tree6844295b964a9ad5b093625c9f55cea24cf7c980 /virtManager
parent3065b715d55965aa02076dd7c5c71c33beb8183e (diff)
downloadvirt-manager-990b932c17729fbb7c0c710d41090dff1582f927.tar.gz
addhardware: add "none" video type
In some setups, it is useful to have Spice input, clipboard, audio, etc., but not video, for instance when doing GPU passthrough -- one can interact inside the VM via Spice rather than USB passthrough, and use a plugged-in monitor or alternate VM viewers like Looking Glass[1] for video. It is already possible to specify a "none" video device by manually typing into the "Model" combobox and hitting "Apply". Yet, this is unintuitive. Despite being documented everywhere GPU passthrough is brought up, in the Looking Glass community we still get ~daily support requests from users who couldn't figure out how to disable Spice video. This patch makes "None" an explicit option in the video model combobox, in the hopes that this is more straightforward for users to get right. [1]: https://looking-glass.io/ Signed-off-by: Tudor Brindus <contact@tbrindus.ca>
Diffstat (limited to 'virtManager')
-rw-r--r--virtManager/addhardware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index d77f89b2..8c7fa0c7 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -609,7 +609,7 @@ class vmmAddHardware(vmmGObjectUI):
if guest.conn.is_xen():
return ["xen", "vga"]
if guest.conn.is_qemu() or guest.conn.is_test():
- return ["vga", "bochs", "qxl", "virtio", "ramfb"]
+ return ["vga", "bochs", "qxl", "virtio", "ramfb", "none"]
return []
@staticmethod