summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Smirnov <eu.smirnoff@gmail.com>2018-08-17 12:00:38 +0200
committerEugene Smirnov <eu.smirnoff@gmail.com>2018-08-17 12:00:38 +0200
commitbde601772b652c1e110d480163a8e680eb6bc60c (patch)
treee1d58bfc620943bd911370f432fe84cf190a2fd6
parentc4902394cc6673b07ad5ee87570e02afbdf7b022 (diff)
downloadmeta-updater-fix/cpu-type.tar.gz
Specify cpu type -host- for KVM modefix/cpu-type
-rw-r--r--scripts/qemucommand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index 4918314..86362f7 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -115,7 +115,7 @@ class QemuCommand(object):
115 else: 115 else:
116 cmdline.append('-nographic') 116 cmdline.append('-nographic')
117 if self.kvm: 117 if self.kvm:
118 cmdline.append('-enable-kvm') 118 cmdline += ['-enable-kvm', '-cpu', 'host']
119 else: 119 else:
120 cmdline += ['-cpu', 'Haswell'] 120 cmdline += ['-cpu', 'Haswell']
121 if self.overlay: 121 if self.overlay: