diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-08-17 14:09:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-17 14:09:34 +0200 |
commit | a5044c4caac7ef35d4f91b47fc34960e0d51cea8 (patch) | |
tree | 927738b97c6014090f8882b7111a16e94d6c282e /scripts/qemucommand.py | |
parent | cab4b16e4513c488629cac82b01124791bf78054 (diff) | |
parent | bde601772b652c1e110d480163a8e680eb6bc60c (diff) | |
download | meta-updater-a5044c4caac7ef35d4f91b47fc34960e0d51cea8.tar.gz |
Merge pull request #372 from advancedtelematic/fix/cpu-type
Specify cpu type -host- for KVM mode
Diffstat (limited to 'scripts/qemucommand.py')
-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: |