summaryrefslogtreecommitdiff
path: root/data/org.virt-manager.virt-manager.gschema.xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-01-17 15:32:40 -0500
committerCole Robinson <crobinso@redhat.com>2014-01-17 17:41:26 -0500
commit7003a3a52821e2813d41989ab7a88d2b7aa590f1 (patch)
tree35d91b033a220b5709d60622fb4c5b33accc737f /data/org.virt-manager.virt-manager.gschema.xml
parentb215b278547e3e7f1cbcb1c1555005623a5b850b (diff)
downloadvirt-manager-7003a3a52821e2813d41989ab7a88d2b7aa590f1.tar.gz
prefs: Allow changing the default VM CPU mode/model config
Add a preference for changing the default CPU mode/model. The options are: - default (whatever virt-manager chooses as the default) - hypervisor default (no <cpu> block, what we've always done) - nearest host cpu model (just the 'model' from caps->host->cpu) - copy host cpu (the entire <cpu> block from caps->host) The setting only applies to KVM guests, not tested with anything else. The default is left as is for now (hypervisor default). copy host CPU will one day use mode='host-model', when it does what we want. At that point we will probably make it the default
Diffstat (limited to 'data/org.virt-manager.virt-manager.gschema.xml')
-rw-r--r--data/org.virt-manager.virt-manager.gschema.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/org.virt-manager.virt-manager.gschema.xml b/data/org.virt-manager.virt-manager.gschema.xml
index 270a7b0a..2566e1ac 100644
--- a/data/org.virt-manager.virt-manager.gschema.xml
+++ b/data/org.virt-manager.virt-manager.gschema.xml
@@ -207,6 +207,13 @@
<summary>Use selected format for new VM storage</summary>
<description>Use selected format when creating new disk images in new VM wizard</description>
</key>
+
+ <key name="cpu-default" type="s">
+ <default>'default'</default>
+ <summary>CPU setting to use for new VMs</summary>
+ <description>CPU setting to use for new VMs. Limited to VMs matching the host architecture. Possible values: default (virt-manager default), hv-default (qemu's default), host-cpu-model (just the model, not the additional features), host-model (libvirt's host-model setting).</description>
+ </key>
+
</schema>
<schema id="org.virt-manager.virt-manager.paths"