diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-17 08:02:44 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:51:00 +0100 |
commit | fcd7d0034b7eddba505a548f456f452bf5a7d56c (patch) | |
tree | fef2f0c973e60467b4debfac984cd4bd6f8061c3 /include/qom/cpu.h | |
parent | 0315c31cda054775585b31f8cb3c9228cc6fc28b (diff) | |
download | qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.tar.gz qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.tar.bz2 qemu-fcd7d0034b7eddba505a548f456f452bf5a7d56c.zip |
cpu: Move exit_request field to CPUState
Since it was located before breakpoints field, it needs to be reset.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/qom/cpu.h')
-rw-r--r-- | include/qom/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h index c465d88260..42f3f34bbd 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -20,6 +20,7 @@ #ifndef QEMU_CPU_H #define QEMU_CPU_H +#include <signal.h> #include "hw/qdev-core.h" #include "qemu/thread.h" @@ -96,6 +97,7 @@ struct CPUState { bool created; bool stop; bool stopped; + volatile sig_atomic_t exit_request; int kvm_fd; bool kvm_vcpu_dirty; |