public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Support running qemu on kernel older then 4.17
@ 2024-01-25 21:03 Mark Hatle
  2024-01-25 21:03 ` [PATCH 1/1] qemu: Allow native and nativesdk versions on Linux " Mark Hatle
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2024-01-25 21:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: mark.hatle

We were attempting to build qemu on an Ubuntu 18.04 system and ran into
an issue where certain (newer) MMAP flags were not defined.  After further
tracking it was determined that QEMU 8.1 moved forward and only supports
usage on kernel 4.17 or newer.

Using the patch included with this, you can build for an older host, but
more importantly you can build an SDK that includes QEMU that will execute
on the 'SDK_OLDEST_KERNEL'.  While I've not gone back and verified things
work on 3.2.0 system, I have verified that Ubuntu 18.04 is working for me.

(Ubuntu 18.04 is kernel 4.15)

Mark Hatle (1):
  qemu: Allow native and nativesdk versions on Linux older then 4.17

 meta/recipes-devtools/qemu/qemu.inc           |  12 +
 ...round-for-missing-MAP_FIXED_NOREPLAC.patch | 286 ++++++++++++++++++
 ...round-for-missing-MAP_SHARED_VALIDAT.patch |  51 ++++
 3 files changed, 349 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch

-- 
2.34.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-25 22:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 21:03 [PATCH 0/1] Support running qemu on kernel older then 4.17 Mark Hatle
2024-01-25 21:03 ` [PATCH 1/1] qemu: Allow native and nativesdk versions on Linux " Mark Hatle
2024-01-25 21:41   ` [OE-core] " Alexander Kanavin
2024-01-25 22:23     ` Mark Hatle
2024-01-25 22:38     ` Richard Purdie
2024-01-25 21:42   ` Martin Jansa
2024-01-25 22:20     ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox