]> git.proxmox.com Git - qemu.git/commit - gdbstub.c
Improve vm_stop reason declarations
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 9 Feb 2011 15:29:40 +0000 (16:29 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:46 +0000 (12:39 -0200)
commite07bbac542d45cb246f393f343eb3b867fed4de1
treee2a40a4a9ac0d15b9f948a693b7b967489b93886
parent0ab07c623c629acfbc792e5a174129c19faefbb7
Improve vm_stop reason declarations

Define and use dedicated constants for vm_stop reasons, they actually
have nothing to do with the EXCP_* defines used so far. At this chance,
specify more detailed reasons so that VM state change handlers can
evaluate them.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
12 files changed:
cpus.c
gdbstub.c
hw/ide/core.c
hw/scsi-disk.c
hw/virtio-blk.c
hw/watchdog.c
kvm-all.c
migration.c
monitor.c
savevm.c
sysemu.h
vl.c