summaryrefslogtreecommitdiff
path: root/data/org.virt-manager.virt-manager.gschema.xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-09-09 19:04:44 -0400
committerCole Robinson <crobinso@redhat.com>2020-09-09 19:59:31 -0400
commitac8591192f6cefe586813e7b1568451e47359e3d (patch)
tree4287f4a092060fa16141350e34cbe02490653ab8 /data/org.virt-manager.virt-manager.gschema.xml
parentbbbfd4b7c8ce26538f6a27752b9180c09053967b (diff)
downloadvirt-manager-ac8591192f6cefe586813e7b1568451e47359e3d.tar.gz
console: Add option to disable autoconnect
As part of making virt-manager cooperate better with external viewers, add an option to disable console autoconnect. When opening a VM window for a running VM, you'll see a 'Connect to console' button in place of the spice/vnc viewer. Click that and things proceed like normal. This is useful to prevent virt-manager from disconnecting a virt-viewer instance that's already attached to a VM https://bugzilla.redhat.com/show_bug.cgi?id=1793876 Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'data/org.virt-manager.virt-manager.gschema.xml')
-rw-r--r--data/org.virt-manager.virt-manager.gschema.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/org.virt-manager.virt-manager.gschema.xml b/data/org.virt-manager.virt-manager.gschema.xml
index 533bc6aa..7ba402ff 100644
--- a/data/org.virt-manager.virt-manager.gschema.xml
+++ b/data/org.virt-manager.virt-manager.gschema.xml
@@ -25,6 +25,12 @@
<summary>Automatically resize guest when window size changes</summary>
<description>Automatically change guest resolution along with virt-manager window. Only works with spice with a vdagent set up. -1 = global default, 0 = off, 1 = on.</description>
</key>
+
+ <key name="autoconnect" type="i">
+ <default>-1</default>
+ <summary>Autoconnect to the default VM console when the VM window is opened</summary>
+ <description>Autoconnect to the default VM console when the VM window is opened. Users may want to turn this off if they prefer to use another viewer app for their VMs, and don't want virt-manager to interfere, but they still want to use virt-manager's details. -1 = global default, 0 = off, 1 = on</description>
+ </key>
</schema>
@@ -222,6 +228,12 @@
<summary>Enable SPICE Auto USB redirection in console window</summary>
<description>Whether to enable SPICE Auto USB redirection while connected to the guest console.</description>
</key>
+
+ <key name="autoconnect" type="b">
+ <default>true</default>
+ <summary>Autoconnect to the default VM console when the VM window is opened</summary>
+ <description>Autoconnect to the default VM console when the VM window is opened. Users may want to turn this off if they prefer to use another viewer app for their VMs, and don't want virt-manager to interfere, but they still want to use virt-manager's details.</description>
+ </key>
</schema>
<schema id="org.virt-manager.virt-manager.details"