[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH v2] bsd-user: fix compile failure

From: Peter Maydell
Subject: [Qemu-trivial] [PATCH v2] bsd-user: fix compile failure
Date: Thu, 12 Apr 2012 12:43:41 +0100

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>
v1->v2 changes: added commit hash accidentally omitted from message
added reported-by line. no code change.

 bsd-user/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
 static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]