From: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested
Date: Fri, 21 Dec 2007 06:37:10 -0600 [thread overview]
Message-ID: <20071221123710.GE8306@tapir> (raw)
In-Reply-To: <20071221122509.GA8306@tapir>
The following patch re applies the definitions added to qemu/vl.h in
469b506a270347a88d11c65392ac1df7b476d176 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warnings :
qemu/qemu-kvm.c:343: warning: implicit declaration of function `qemu_shutdown_requested'
qemu/qemu-kvm.c:345: warning: implicit declaration of function `qemu_powerdown_requested'
qemu/qemu-kvm.c:347: warning: implicit declaration of function `qemu_reset_requested'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/sysemu.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu/sysemu.h b/qemu/sysemu.h
index f1994ba..b96ba79 100644
--- a/qemu/sysemu.h
+++ b/qemu/sysemu.h
@@ -30,6 +30,9 @@ void cpu_disable_ticks(void);
void qemu_system_reset_request(void);
void qemu_system_shutdown_request(void);
void qemu_system_powerdown_request(void);
+int qemu_shutdown_requested(void);
+int qemu_reset_requested(void);
+int qemu_powerdown_requested(void);
#if !defined(TARGET_SPARC)
// Please implement a power failure function to signal the OS
#define qemu_system_powerdown() do{}while(0)
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2007-12-21 12:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
2007-12-21 12:29 ` [PATCH 1/9] qemu: re-add missing definition for vmchannel_init Carlo Marcelo Arenas Belon
2007-12-21 12:31 ` [PATCH 2/9] qemu: add "migration.h" to vl.c so that migrate_incoming is defined Carlo Marcelo Arenas Belon
2007-12-21 12:34 ` [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init Carlo Marcelo Arenas Belon
2007-12-21 12:37 ` Carlo Marcelo Arenas Belon [this message]
2007-12-21 12:39 ` [PATCH 5/9] qemu: add missing definition for qemu_system_reset Carlo Marcelo Arenas Belon
2007-12-21 12:40 ` [PATCH 6/9] qemu: add missing definition for bdrv_flush_all Carlo Marcelo Arenas Belon
2007-12-21 12:41 ` [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend} Carlo Marcelo Arenas Belon
2007-12-21 12:44 ` [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state Carlo Marcelo Arenas Belon
2007-12-21 12:47 ` [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info Carlo Marcelo Arenas Belon
2007-12-22 19:54 ` [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Avi Kivity
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=20071221123710.GE8306@tapir \
--to=carenas-kledwsohozojb6fo7hg9ng@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.