]> git.proxmox.com Git - qemu.git/commit
linux-user: Allow targets to specify a minimum uname release
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2013 19:12:20 +0000 (20:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Sep 2013 18:11:29 +0000 (19:11 +0100)
commit4a24a758101ff726c9bd3b867e12d5580c793af0
tree575f2f44eb438836946a138a80dac396b0173968
parentaf89c7dba52c509bdb72714139aadbe21a133f6e
linux-user: Allow targets to specify a minimum uname release

For newer target architectures, glibc can be picky about the kernel
version: for example, it will not run on an aarch64 system unless
the kernel reports itself as at least 3.8.0. Accommodate this by
enhancing the existing support for faking the kernel version so
that each target can optionally specify a minimum version: if
the user doesn't force a specific fake version then we will override
with the minimum required version only if the real host kernel
version is insufficient.

Use this facility to let aarch64 report a minimum of 3.8.0.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1378235544-22290-21-git-send-email-peter.maydell@linaro.org
linux-user/main.c
linux-user/qemu.h
linux-user/syscall.c