graphics: add support for action_if_connected in qemu

This option accepts 3 values:
-keep, to keep current client connected (Spice+VNC)
-disconnect, to disconnect client (Spice)
-fail, to fail setting password if there is a client connected (Spice)
This commit is contained in:
Michal Privoznik
2011-07-08 17:00:43 +02:00
parent 2f4d2496a8
commit 30c43afd73
7 changed files with 99 additions and 14 deletions
+16
View File
@@ -1294,6 +1294,13 @@
<data type="dateTime"/>
</attribute>
</optional>
<optional>
<attribute name="connected">
<choice>
<value>keep</value>
</choice>
</attribute>
</optional>
</group>
<group>
<attribute name="type">
@@ -1337,6 +1344,15 @@
<data type="dateTime"/>
</attribute>
</optional>
<optional>
<attribute name="connected">
<choice>
<value>fail</value>
<value>disconnect</value>
<value>keep</value>
</choice>
</attribute>
</optional>
<interleave>
<zeroOrMore>
<element name="channel">