mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-27 10:25:25 +03:00
virtinst: error out if spice+gl is not supported
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
b4858842f9
commit
ee6a60a9b9
@ -1089,6 +1089,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user