]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: set minimum kernel version to 2.6.32
authorRiku Voipio <riku.voipio@linaro.org>
Wed, 19 Feb 2014 12:50:41 +0000 (14:50 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 10 Mar 2014 11:55:00 +0000 (13:55 +0200)
Popular glibc based distributions[1] require minimum
2.6.32 as kernel version. For some targets 2.6.18
would be enough, but dropping so low would mean some
suboptimal system calls could get used.

Set the minimum kernel advertized to 2.6.32 for
all architectures but aarch64 to ensure working qemu
linux-user in case host kernel is older.

[1] https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/921078

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
16 files changed:
linux-user/alpha/syscall.h
linux-user/arm/syscall.h
linux-user/cris/syscall.h
linux-user/i386/syscall.h
linux-user/m68k/syscall.h
linux-user/microblaze/syscall.h
linux-user/mips/syscall.h
linux-user/mips64/syscall.h
linux-user/openrisc/syscall.h
linux-user/ppc/syscall.h
linux-user/s390x/syscall.h
linux-user/sh4/syscall.h
linux-user/sparc/syscall.h
linux-user/sparc64/syscall.h
linux-user/unicore32/syscall.h
linux-user/x86_64/syscall.h

index 15a01003355dfd98dc1c302d384ef6fd7bb502d7..ed13d9a71869865d6a1a5a71152836851216c016 100644 (file)
@@ -39,6 +39,7 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "alpha"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #undef TARGET_EDEADLK
 #define TARGET_EDEADLK         11
index 73f29314f68677f45d5ca371cf4d58b016a2847c..ce2c2a8ed0931efbe7e35091e62f1a893a282d4a 100644 (file)
@@ -40,5 +40,6 @@ struct target_pt_regs {
 #else
 #define UNAME_MACHINE "armv5tel"
 #endif
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS
index 832ee64bd83efb0fa77b7cf0e0335cb589c64d4f..f5783c0557b0d10f14c02d19d9e71fc6735eb7e2 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef CRIS_SYSCALL_H
 #define CRIS_SYSCALL_H 1
 
-
 #define UNAME_MACHINE "cris"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 /* pt_regs not only specifices the format in the user-struct during
  * ptrace but is also the frame format used in the kernel prologue/epilogues
index 12b8c3b672999da280f5f1ac54aeeec136c8df76..9bfc1ad8f79a63d2b9ce4a4a9a31d22d1993332c 100644 (file)
@@ -144,5 +144,6 @@ struct target_vm86plus_struct {
 };
 
 #define UNAME_MACHINE "i686"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS
index 26187930db43820132c64fb6635587c9cd8d5311..889eaf732324428f3e796e68f0d8de042b89f5e9 100644 (file)
@@ -15,7 +15,7 @@ struct target_pt_regs {
     uint16_t __fill;
 };
 
-
 #define UNAME_MACHINE "m68k"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 void do_m68k_simcall(CPUM68KState *, int);
index d550989d5e495485415e824b93f330343b7889fc..5b5f6b447d1179937b39d9bc323962ba7de14e69 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef MICROBLAZE_SYSCALLS_H
 #define MICROBLAZE_SYSCALLS_H 1
 
-
 #define UNAME_MACHINE "microblaze"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 /* We use microblaze_reg_t to keep things similar to the kernel sources.  */
 typedef uint32_t microblaze_reg_t;
index 9d437d918bdd128c566cbf26976f8543d1f55cbb..5bc56962a45cf8cef7ba5f59ed701863077475de 100644 (file)
@@ -225,5 +225,6 @@ struct target_pt_regs {
 #define TARGET_QEMU_ESIGRETURN 255
 
 #define UNAME_MACHINE "mips"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS
index 1710f766e26b09d7ee81cef420ce01feb4d0e0f4..a7f5a5802a4d7d3d613f224d3ffdcfd5ee270485 100644 (file)
@@ -222,5 +222,6 @@ struct target_pt_regs {
 #define TARGET_QEMU_ESIGRETURN 255
 
 #define UNAME_MACHINE "mips64"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS
index bdbb577fc35002d6ef8e16722e7d4a20291b8f3e..c3b36da83c340245393ab9ad13d79c7dcdc39056 100644 (file)
@@ -22,3 +22,4 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "openrisc"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
index ba36acbc337b677770a925b9215caf8b808d5e02..6514c637a5847c2ccae311958de6b9791e90efd3 100644 (file)
@@ -62,5 +62,6 @@ struct target_revectored_struct {
 #else
 #define UNAME_MACHINE "ppc"
 #endif
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS
index e5ce30b667293d10a6c324e2549117af492625bc..aaad512d4d18328dacff3ba369f54c2e00d8b151 100644 (file)
@@ -21,5 +21,6 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "s390x"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_CLONE_BACKWARDS2
index 014bf58fc3e8d062e2176cf0c3d58cc70e89c490..ccd2216e38e0d2e7e88a2d6898440a5d8fd72fef 100644 (file)
@@ -10,3 +10,4 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "sh4"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
index 4cd64bf41dd2d96b02f3324627769b7dc27e029f..9549ea0a2f474a3b45e727a537699639e579e827 100644 (file)
@@ -7,6 +7,7 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "sun4"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 /* SPARC kernels don't define this in their Kconfig, but they have the
  * same ABI as if they did, implemented by sparc-specific code which fishes
index e60bf311c02e1d9817f61364f0f9312dbf2f56d1..82b1680cb6c404a6f02a53ed035c983403953268 100644 (file)
@@ -8,6 +8,7 @@ struct target_pt_regs {
 };
 
 #define UNAME_MACHINE "sun4u"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 /* SPARC kernels don't define this in their Kconfig, but they have the
  * same ABI as if they did, implemented by sparc-specific code which fishes
index 010cdd896ed73ccc70212ccdd5eddb575fe2bb78..f7e55254cfc5286f3795eeb8c31d244c5e05f9f9 100644 (file)
@@ -51,5 +51,6 @@ struct target_pt_regs {
 #define UC32_SYSCALL_NR_set_tls         (UC32_SYSCALL_ARCH_BASE + 5)
 
 #define UNAME_MACHINE "UniCore-II"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #endif /* __UC32_SYSCALL_H__ */
index 81314cfae616091829cee1a00d2f2e74b2e19ba8..e03b5a0cfc48b12d79ecf1b5a3534b03cb1d3c8a 100644 (file)
@@ -91,6 +91,7 @@ struct target_msqid64_ds {
 };
 
 #define UNAME_MACHINE "x86_64"
+#define UNAME_MINIMUM_RELEASE "2.6.32"
 
 #define TARGET_ARCH_SET_GS 0x1001
 #define TARGET_ARCH_SET_FS 0x1002