[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] bsd-user: fix compile failure
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 5/6] bsd-user: fix compile failure |
Date: |
Fri, 13 Apr 2012 10:39:15 +0100 |
From: Peter Maydell <address@hidden>
bsd-user doesn't actually support reserving a memory area for the
guest address space, but we need to at least define the reserved_va
global so that cpu-all.h's RESERVED_VA macro will work correctly.
This fixes a compilation error introduced in commit 39879bb
which added a use of RESERVED_VA to h2g_valid().
Reported-by: Brad Smith <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
bsd-user/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 48cb715..0689e38 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -41,6 +41,7 @@ int singlestep;
unsigned long mmap_min_addr;
unsigned long guest_base;
int have_guest_base;
+unsigned long reserved_va;
#endif
static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;
--
1.7.9.5
- [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 5/6] bsd-user: fix compile failure,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/6] configure: Remove useless uses of ARCH_CFLAGS, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 6/6] configure: Insist on a Python 2, not Python 3, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 3/6] make: Always set LC_ALL=C for makeinfo, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 2/6] configure: Fix wrong preprocessor statement, Stefan Hajnoczi, 2012/04/13
- [Qemu-devel] [PATCH 4/6] ps2: avoid repeated header file includes, Stefan Hajnoczi, 2012/04/13
- Re: [Qemu-devel] [PULL 0/6] Trivial patches for 4 to 13 April 2012, Anthony Liguori, 2012/04/13