From: Ed Maste <emaste@freebsd.org>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Ed Maste <emaste@freebsd.org>
Subject: [Qemu-trivial] [PATCH] bsd-user: fix FreeBSD build after d148d90e
Date: Tue, 4 Oct 2016 16:02:49 -0400 [thread overview]
Message-ID: <1475611369-74971-1-git-send-email-emaste@freebsd.org> (raw)
Signed-off-by: Ed Maste <emaste@freebsd.org>
---
bsd-user/main.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index d803d3e..d8367bd 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -695,6 +695,16 @@ static void usage(void)
THREAD CPUState *thread_cpu;
+bool qemu_cpu_is_self(CPUState *cpu)
+{
+ return thread_cpu == cpu;
+}
+
+void qemu_cpu_kick(CPUState *cpu)
+{
+ cpu_exit(cpu);
+}
+
/* Assumes contents are already zeroed. */
void init_task_state(TaskState *ts)
{
--
2.8.1
next reply other threads:[~2016-10-04 20:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 20:02 Ed Maste [this message]
2016-10-07 14:51 ` [Qemu-trivial] [Qemu-devel] [PATCH] bsd-user: fix FreeBSD build after d148d90e Peter Maydell
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=1475611369-74971-1-git-send-email-emaste@freebsd.org \
--to=emaste@freebsd.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).