From: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> The following patch re applies the declarations 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]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> 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) ------------------------------------------------------------------------- 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-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits