From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Brad Smith <brad@comstyle.com>,
patches@linaro.org
Subject: [Qemu-trivial] [PATCH] bsd-user: fix compile failure
Date: Thu, 12 Apr 2012 11:22:44 +0100 [thread overview]
Message-ID: <1334226164-25658-1-git-send-email-peter.maydell@linaro.org> (raw)
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
which added a use of RESERVED_VA to h2g_valid().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
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;
#endif
static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;
--
1.7.1
next reply other threads:[~2012-04-12 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 10:22 Peter Maydell [this message]
2012-04-12 10:38 ` [Qemu-trivial] [Qemu-devel] [PATCH] bsd-user: fix compile failure Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334226164-25658-1-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=brad@comstyle.com \
--cc=patches@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).