Commit e0f61aeb authored by Rafael Monnerat's avatar Rafael Monnerat

kvm: by default cpu-model is set always as host

parent febcbfa9
...@@ -288,7 +288,8 @@ ...@@ -288,7 +288,8 @@
"cpu-model": { "cpu-model": {
"title": "CPU model.", "title": "CPU model.",
"description": "Select the emulated CPU model. Ex: SandyBridge,+erms,+smep,+smx,+vmx", "description": "Select the emulated CPU model. Ex: SandyBridge,+erms,+smep,+smx,+vmx",
"type": "string" "type": "string",
"default": "host"
}, },
"keyboard-layout-language": { "keyboard-layout-language": {
"title": "Use keyboard layout language", "title": "Use keyboard layout language",
......
...@@ -186,7 +186,7 @@ ignore-existing = true ...@@ -186,7 +186,7 @@ ignore-existing = true
url = ${:_profile_base_location_}/template/template-kvm-run.in url = ${:_profile_base_location_}/template/template-kvm-run.in
mode = 644 mode = 644
filename = template-kvm-run.in filename = template-kvm-run.in
md5sum = c6f1536a3502102dadbfb9d82496cc36 md5sum = 4123fa5d59edaeb31f0e8b5efad605c7
download-only = true download-only = true
on-update = true on-update = true
......
...@@ -72,7 +72,7 @@ disk_aio = disk_aio if disk_aio in ["threads", "native"] and \ ...@@ -72,7 +72,7 @@ disk_aio = disk_aio if disk_aio in ["threads", "native"] and \
smp_count = {{ parameter_dict.get("smp-count") }} smp_count = {{ parameter_dict.get("smp-count") }}
smp_max_count = {{ parameter_dict.get("smp-max-count") }} smp_max_count = {{ parameter_dict.get("smp-max-count") }}
machine_options = '{{ parameter_dict.get("machine-options", "") }}'.strip() machine_options = '{{ parameter_dict.get("machine-options", "") }}'.strip()
cpu_model = '{{ parameter_dict.get("cpu-model", "") }}'.strip() cpu_model = '{{ parameter_dict.get("cpu-model", "host") }}'.strip()
enable_device_hotplug = '{{ parameter_dict.get("enable-device-hotplug") }}'.lower() enable_device_hotplug = '{{ parameter_dict.get("enable-device-hotplug") }}'.lower()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment