diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-03-28 20:04:36 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-04-14 06:30:29 -1000 |
commit | 75d03fe4839f6f4279bf4d039083e1476e84d2f2 (patch) | |
tree | 1c7453487eda7ce6d806d8ffcbd6cf858f9f7651 | |
parent | 78fe6339e83db510bd6f6afc259a23404d99158e (diff) | |
download | poky-75d03fe4839f6f4279bf4d039083e1476e84d2f2.tar.gz |
Revert "runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86"
This reverts commit 82e67b82ea8e12aa0b7b9db1d84fec0436dec71b.
It was commited as part of https://bugzilla.yoctoproject.org/show_bug.cgi?id=12301
for kernels < 4.15, as of now oldest builder kernel we have is 4.15 on
ubuntu 18.04 so we should not require this workaround. Moreover, this
fixes an smp problem with qemux86 where no matter what -smp <x> option
is used, qemu always starts with single core.
(From OE-Core rev: 3479caf1eb1a67c53722ca774bfd94145b3669b5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fa8a7c0608fc800c48d0ff1cd832ad63c51eeab1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rwxr-xr-x | scripts/runqemu | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index db35d83fa9..efc135e535 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -591,11 +591,6 @@ class BaseConfig(object): | |||
591 | 591 | ||
592 | if os.access(dev_kvm, os.W_OK|os.R_OK): | 592 | if os.access(dev_kvm, os.W_OK|os.R_OK): |
593 | self.qemu_opt_script += ' -enable-kvm' | 593 | self.qemu_opt_script += ' -enable-kvm' |
594 | if self.get('MACHINE') == "qemux86": | ||
595 | # Workaround for broken APIC window on pre 4.15 host kernels which causes boot hangs | ||
596 | # See YOCTO #12301 | ||
597 | # On 64 bit we use x2apic | ||
598 | self.kernel_cmdline_script += " clocksource=kvm-clock hpet=disable noapic nolapic" | ||
599 | else: | 594 | else: |
600 | logger.error("You have no read or write permission on /dev/kvm.") | 595 | logger.error("You have no read or write permission on /dev/kvm.") |
601 | logger.error("Please change the ownership of this file as described at:") | 596 | logger.error("Please change the ownership of this file as described at:") |