From efd1d2dd07a15a30e21bea372aa55efa06ef6107 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Mon, 6 Jun 2016 23:26:57 +0200 Subject: [PATCH] cpu: config: replace host-cpu-model by host-model-only Commit f5c32063 replaced host-cpu-model by host-model-only but forget those two places. Signed-off-by: Pavel Hrdina --- 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 81d6b3677..9d394caf0 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 775bf9c8a..2818b6882 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)