summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-04 18:05:45 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-04 18:05:45 +0000
commit242cd0030a4ac1cdd478a430f293dca573698778 (patch)
tree199340ce69c6fb2a7cf03f6a902972b90e1466a4 /vl.c
parent31a68d5766c86020ef5392323db7692aa9e9ac62 (diff)
downloadqemu-242cd0030a4ac1cdd478a430f293dca573698778.tar.gz
qemu-242cd0030a4ac1cdd478a430f293dca573698778.tar.bz2
qemu-242cd0030a4ac1cdd478a430f293dca573698778.zip
monitor: rename EVENT_* to QEVENT_* to avoid conflict on mingw32
Partially fixes mingw32 build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vl.c b/vl.c
index 96ab020255..1981e6e744 100644
--- a/vl.c
+++ b/vl.c
@@ -4103,11 +4103,11 @@ static void main_loop(void)
} while (vm_can_run());
if (qemu_debug_requested()) {
- monitor_protocol_event(EVENT_DEBUG, NULL);
+ monitor_protocol_event(QEVENT_DEBUG, NULL);
vm_stop(EXCP_DEBUG);
}
if (qemu_shutdown_requested()) {
- monitor_protocol_event(EVENT_SHUTDOWN, NULL);
+ monitor_protocol_event(QEVENT_SHUTDOWN, NULL);
if (no_shutdown) {
vm_stop(0);
no_shutdown = 0;
@@ -4115,17 +4115,17 @@ static void main_loop(void)
break;
}
if (qemu_reset_requested()) {
- monitor_protocol_event(EVENT_RESET, NULL);
+ monitor_protocol_event(QEVENT_RESET, NULL);
pause_all_vcpus();
qemu_system_reset();
resume_all_vcpus();
}
if (qemu_powerdown_requested()) {
- monitor_protocol_event(EVENT_POWERDOWN, NULL);
+ monitor_protocol_event(QEVENT_POWERDOWN, NULL);
qemu_irq_raise(qemu_system_powerdown);
}
if ((r = qemu_vmstop_requested())) {
- monitor_protocol_event(EVENT_STOP, NULL);
+ monitor_protocol_event(QEVENT_STOP, NULL);
vm_stop(r);
}
}