mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
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 <phrdina@redhat.com>
This commit is contained in:
parent
2d554aca7b
commit
efd1d2dd07
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user