[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL for-2.0 4/7] linux-user: Don't reserve space for comm
From: |
riku . voipio |
Subject: |
[Qemu-devel] [PULL for-2.0 4/7] linux-user: Don't reserve space for commpage for AArch64 |
Date: |
Wed, 19 Mar 2014 16:02:59 +0200 |
From: Peter Maydell <address@hidden>
AArch64 Linux, unlike AArch32, doesn't use a commpage. This means we
should not be reserving room in the guest address space for one.
Fixes LP:1287195.
Reported-by: Amanieu d'Antras <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
---
linux-user/elfload.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 6bc7999..99a2c58 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -352,6 +352,9 @@ enum
ARM_HWCAP_ARM_VFPv3D16 = 1 << 13,
};
+#ifndef TARGET_AARCH64
+/* The commpage only exists for 32 bit kernels */
+
#define TARGET_HAS_VALIDATE_GUEST_SPACE
/* Return 1 if the proposed guest space is suitable for the guest.
* Return 0 if the proposed guest space isn't suitable, but another
@@ -411,7 +414,7 @@ static int validate_guest_space(unsigned long guest_base,
return 1; /* All good */
}
-
+#endif
#define ELF_HWCAP get_elf_hwcap()
--
1.8.1.2
- [Qemu-devel] [PULL for-2.0 0/7] linux-user patches, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 3/7] linux-user: implement F_[GS]ETOWN_EX, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 2/7] linux-user: Don't return uninitialized value for atomic_barrier syscall, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 1/7] linux-user/signal.c: Correct error path for AArch64 do_rt_sigreturn, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 4/7] linux-user: Don't reserve space for commpage for AArch64,
riku . voipio <=
- [Qemu-devel] [PULL for-2.0 5/7] signal: added a wrapper for sigprocmask function, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 6/7] linux-user: Don't allow guest to block SIGSEGV, riku . voipio, 2014/03/19
- [Qemu-devel] [PULL for-2.0 7/7] linux-user: Implement capget, capset, riku . voipio, 2014/03/19
- Re: [Qemu-devel] [PULL for-2.0 0/7] linux-user patches, Peter Maydell, 2014/03/19