From 990b932c17729fbb7c0c710d41090dff1582f927 Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sun, 27 Feb 2022 21:14:09 -0500 Subject: [PATCH] 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 --- virtManager/addhardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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