From: Marc-André Lureau <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
---
virtinst/guest.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/virtinst/guest.py b/virtinst/guest.py
index 252da22..3366fcb 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -1089,6 +1089,11 @@ class Guest(XMLBuilder):
if dev.image_compression is None:
dev.image_compression = "off"
+ if (dev.type == "spice" and dev.gl and
+ not self.conn.check_support(
+ self.conn.SUPPORT_CONN_SPICE_GL)):
+ raise ValueError(_("Host does not support spice GL"))
+
def _add_spice_channels(self):
if self.skip_default_channel:
return
--
2.10.0
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list