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 <[EMAIL PROTECTED]>
---
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/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel