aboutsummaryrefslogtreecommitdiff
path: root/xen-all.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-06-14 18:29:43 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-06-16 11:42:40 -0300
commite063eb1f4a6d42371e7d288dfdb690d5821190ed (patch)
tree7d222f1c5357f87d7486b8a8ff76426461db36b0 /xen-all.c
parente4ea5e2d0e0e4c5188ab45b66f3195062ae059dc (diff)
Allow silent system resets
This allows qemu_system_reset to be issued silently for internal purposes, ie. without sending out a monitor event. Convert the system reset after startup to the silent mode. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'xen-all.c')
-rw-r--r--xen-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen-all.c b/xen-all.c
index 0eac202d4e..41fd98aea2 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -452,7 +452,7 @@ static void cpu_handle_ioreq(void *opaque)
destroy_hvm_domain();
}
if (qemu_reset_requested_get()) {
- qemu_system_reset();
+ qemu_system_reset(VMRESET_REPORT);
}
}