osdict: Use USB tablet if no OS specified
Most OS users will be installing benefit from it, so make it the default
This commit is contained in:
parent
184b96a815
commit
7356afcca7
|
@ -57,6 +57,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
@ -102,6 +103,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
@ -107,6 +108,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
@ -127,6 +128,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
<mac address="00:11:22:33:44:55"/>
|
<mac address="00:11:22:33:44:55"/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type="pty"/>
|
<console type="pty"/>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="vnc" port="-1"/>
|
<graphics type="vnc" port="-1"/>
|
||||||
<video>
|
<video>
|
||||||
<model type="vga"/>
|
<model type="vga"/>
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
<channel type="spicevmc">
|
<channel type="spicevmc">
|
||||||
<target type="virtio" name="com.redhat.spice.0"/>
|
<target type="virtio" name="com.redhat.spice.0"/>
|
||||||
</channel>
|
</channel>
|
||||||
|
<input type="tablet" bus="usb"/>
|
||||||
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
|
|
@ -352,6 +352,9 @@ class _OsVariant(object):
|
||||||
return self._device_filter(cls="net")
|
return self._device_filter(cls="net")
|
||||||
|
|
||||||
def supports_usbtablet(self):
|
def supports_usbtablet(self):
|
||||||
|
# If no OS specified, still default to tablet
|
||||||
|
if not self._os:
|
||||||
|
return True
|
||||||
return bool(self._device_filter(cls="input", name="tablet", bus="usb"))
|
return bool(self._device_filter(cls="input", name="tablet", bus="usb"))
|
||||||
|
|
||||||
def supports_virtiodisk(self):
|
def supports_virtiodisk(self):
|
||||||
|
|
Loading…
Reference in New Issue