From d9c3231019a0fbacbe15dcb26a0e3708b726af77 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 9 Aug 2009 08:42:19 +0000 Subject: Use qemu_irq for system_powerdown Signed-off-by: Blue Swirl --- sysemu.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sysemu.h') diff --git a/sysemu.h b/sysemu.h index 6af88d8..c7065ac 100644 --- a/sysemu.h +++ b/sysemu.h @@ -47,14 +47,7 @@ void qemu_system_powerdown_request(void); int qemu_shutdown_requested(void); int qemu_reset_requested(void); int qemu_powerdown_requested(void); -#ifdef NEED_CPU_H -#if !defined(TARGET_SPARC) && !defined(TARGET_I386) -// Please implement a power failure function to signal the OS -#define qemu_system_powerdown() do{}while(0) -#else -void qemu_system_powerdown(void); -#endif -#endif +extern qemu_irq qemu_system_powerdown; void qemu_system_reset(void); void do_savevm(Monitor *mon, const char *name); -- cgit v1.1