@@ -9,7 +9,6 @@
#include "qapi-types.h"
#include "notify.h"
#include "main-loop.h"
-#include "hw/irq.h"
/* vl.c */
@@ -63,7 +62,6 @@ int qemu_reset_requested(void);
int qemu_powerdown_requested(void);
void qemu_system_killed(int signal, pid_t pid);
void qemu_kill_report(void);
-extern qemu_irq qemu_system_powerdown;
void qemu_devices_reset(void);
void qemu_system_reset(bool report);
@@ -1594,8 +1594,6 @@ void qemu_system_vmstop_request(RunState state)
qemu_notify_event();
}
-qemu_irq qemu_system_powerdown;
-
static bool main_loop_should_exit(void)
{
RunState r;
@@ -1633,7 +1631,6 @@ static bool main_loop_should_exit(void)
}
if (qemu_powerdown_requested()) {
qemu_system_powerdown();
- qemu_irq_raise(qemu_system_powerdown);
}
if (qemu_vmstop_requested(&r)) {
vm_stop(r);
all deps that used qemu_system_powerdown are converted to notifiers, so remove it for have no use anymore Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- sysemu.h | 2 -- vl.c | 3 --- 2 files changed, 5 deletions(-)