summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index edd17d09c4..e2dc529baa 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -540,13 +540,13 @@ class BaseConfig(object):
540 def check_kvm(self): 540 def check_kvm(self):
541 """Check kvm and kvm-host""" 541 """Check kvm and kvm-host"""
542 if not (self.kvm_enabled or self.vhost_enabled): 542 if not (self.kvm_enabled or self.vhost_enabled):
543 self.qemu_opt_script += ' %s %s' % (self.get('QB_MACHINE'), self.get('QB_CPU')) 543 self.qemu_opt_script += ' %s %s %s' % (self.get('QB_MACHINE'), self.get('QB_CPU'), self.get('QB_SMP'))
544 return 544 return
545 545
546 if not self.get('QB_CPU_KVM'): 546 if not self.get('QB_CPU_KVM'):
547 raise RunQemuError("QB_CPU_KVM is NULL, this board doesn't support kvm") 547 raise RunQemuError("QB_CPU_KVM is NULL, this board doesn't support kvm")
548 548
549 self.qemu_opt_script += ' %s %s' % (self.get('QB_MACHINE'), self.get('QB_CPU_KVM')) 549 self.qemu_opt_script += ' %s %s %s' % (self.get('QB_MACHINE'), self.get('QB_CPU_KVM'), self.get('QB_SMP'))
550 yocto_kvm_wiki = "https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu" 550 yocto_kvm_wiki = "https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu"
551 yocto_paravirt_kvm_wiki = "https://wiki.yoctoproject.org/wiki/Running_an_x86_Yocto_Linux_image_under_QEMU_KVM" 551 yocto_paravirt_kvm_wiki = "https://wiki.yoctoproject.org/wiki/Running_an_x86_Yocto_Linux_image_under_QEMU_KVM"
552 dev_kvm = '/dev/kvm' 552 dev_kvm = '/dev/kvm'