[virt-manager PATCH] cpu: config: replace host-cpu-model by host-model-only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit f5c32063 replaced host-cpu-model by host-model-only but forget those two
places.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---

Pushed as trivial.

 virtManager/config.py      | 2 +-
 virtManager/preferences.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtManager/config.py b/virtManager/config.py
index 81d6b36..9d394ca 100644
--- a/virtManager/config.py
+++ b/virtManager/config.py
@@ -179,7 +179,7 @@ class vmmConfig(object):
         self.cli_usbredir = None
 
         self.default_storage_format_from_config = "qcow2"
-        self.cpu_default_from_config = "host-cpu-model"
+        self.cpu_default_from_config = CPU.SPECIAL_MODE_HOST_MODEL_ONLY
         self.default_console_resizeguest = 0
         self.default_add_spice_usbredir = "yes"
 
diff --git a/virtManager/preferences.py b/virtManager/preferences.py
index 775bf9c..2818b68 100644
--- a/virtManager/preferences.py
+++ b/virtManager/preferences.py
@@ -163,7 +163,7 @@ class vmmPreferences(vmmGObjectUI):
         for row in [["default", _("System default (%s)") %
                     self.config.cpu_default_from_config],
                     ["hv-default", _("Hypervisor default")],
-                    ["host-cpu-model", _("Nearest host CPU model")],
+                    ["host-model-only", _("Nearest host CPU model")],
                     ["host-model", _("Copy host CPU definition")]]:
             model.append(row)
         combo.set_model(model)
-- 
2.8.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux