On Wed, Nov 09, 2016 at 11:21:33AM +0400, marcandre.lureau@xxxxxxxxxx wrote: > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> > > Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> > --- > 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")) The indentation is off by +1. I'll fix it before pushing. Pavel > + > def _add_spice_channels(self): > if self.skip_default_channel: > return > -- > 2.10.0 > > _______________________________________________ > virt-tools-list mailing list > virt-tools-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/virt-tools-list
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list