* [PATCH] Revert "runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86"
@ 2023-03-29 3:04 Khem Raj
0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2023-03-29 3:04 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
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.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
scripts/runqemu | 5 -----
1 file changed, 5 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 61a7f1820a..09b0ad5ed5 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -584,11 +584,6 @@ to your build configuration.
if os.access(dev_kvm, os.W_OK|os.R_OK):
self.qemu_opt_script += ' -enable-kvm'
- if self.get('MACHINE') == "qemux86":
- # Workaround for broken APIC window on pre 4.15 host kernels which causes boot hangs
- # See YOCTO #12301
- # On 64 bit we use x2apic
- self.kernel_cmdline_script += " clocksource=kvm-clock hpet=disable noapic nolapic"
else:
logger.error("You have no read or write permission on /dev/kvm.")
logger.error("Please change the ownership of this file as described at:")
--
2.40.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-29 3:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 3:04 [PATCH] Revert "runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86" Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox