summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Smirnov <eu.smirnoff@gmail.com>2018-08-17 12:00:38 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-08-31 15:37:46 +0200
commitc37fb0bb5b4b05e4efd93a904e0866745c150cc7 (patch)
treeb2168392605396102862c58d6dea64d6c23307e1
parentc8b4a4c3e161f034121adf8a16ae9fef07593112 (diff)
downloadmeta-updater-c37fb0bb5b4b05e4efd93a904e0866745c150cc7.tar.gz
Specify cpu type -host- for KVM mode
-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: