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 0b6daf2cf2..0ed1eec2d3 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -508,6 +508,11 @@ class BaseConfig(object): | |||
508 | 508 | ||
509 | if os.access(dev_kvm, os.W_OK|os.R_OK): | 509 | if os.access(dev_kvm, os.W_OK|os.R_OK): |
510 | self.qemu_opt_script += ' -enable-kvm' | 510 | self.qemu_opt_script += ' -enable-kvm' |
511 | if self.get('MACHINE') == "qemux86": | ||
512 | # Workaround for broken APIC window on pre 4.15 host kernels which causes boot hangs | ||
513 | # See YOCTO #12301 | ||
514 | # On 64 bit we use x2apic | ||
515 | self.kernel_cmdline_script += " clocksource=kvm-clock hpet=disable noapic nolapic" | ||
511 | else: | 516 | else: |
512 | logger.error("You have no read or write permission on /dev/kvm.") | 517 | logger.error("You have no read or write permission on /dev/kvm.") |
513 | logger.error("Please change the ownership of this file as described at:") | 518 | logger.error("Please change the ownership of this file as described at:") |