diff options
author | Eugene Smirnov <eu.smirnoff@gmail.com> | 2018-08-17 12:00:38 +0200 |
---|---|---|
committer | Eugene Smirnov <eu.smirnoff@gmail.com> | 2018-08-17 12:00:38 +0200 |
commit | bde601772b652c1e110d480163a8e680eb6bc60c (patch) | |
tree | e1d58bfc620943bd911370f432fe84cf190a2fd6 | |
parent | c4902394cc6673b07ad5ee87570e02afbdf7b022 (diff) | |
download | meta-updater-fix/cpu-type.tar.gz |
Specify cpu type -host- for KVM modefix/cpu-type
-rw-r--r-- | scripts/qemucommand.py | 2 |
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: |