diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index f0ddeea1bf..9b6d330f1f 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -482,6 +482,11 @@ class BaseConfig(object): | |||
482 | 482 | ||
483 | if os.access(dev_kvm, os.W_OK|os.R_OK): | 483 | if os.access(dev_kvm, os.W_OK|os.R_OK): |
484 | self.qemu_opt_script += ' -enable-kvm' | 484 | self.qemu_opt_script += ' -enable-kvm' |
485 | if self.get('MACHINE') == "qemux86": | ||
486 | # Workaround for broken APIC window on pre 4.15 host kernels which causes boot hangs | ||
487 | # See YOCTO #12301 | ||
488 | # On 64 bit we use x2apic | ||
489 | self.kernel_cmdline_script += " clocksource=kvm-clock hpet=disable noapic nolapic" | ||
485 | else: | 490 | else: |
486 | logger.error("You have no read or write permission on /dev/kvm.") | 491 | logger.error("You have no read or write permission on /dev/kvm.") |
487 | logger.error("Please change the ownership of this file as described at:") | 492 | logger.error("Please change the ownership of this file as described at:") |