summary refs log tree commit diff stats
path: root/include/qemu
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-02 23:26:21 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:44 +0100
commitf324e7667a3c1f1aed9a5169a63aaac628feef47 (patch)
tree406e4887b2f03a4da99a79bed386fee62ea26ba1 /include/qemu
parentb6444a42c06371d5abba78d2553a088a8490a65b (diff)
downloadfocaccia-qemu-f324e7667a3c1f1aed9a5169a63aaac628feef47.tar.gz
focaccia-qemu-f324e7667a3c1f1aed9a5169a63aaac628feef47.zip
cpu: Move stopped field to CPUState
Change its type to bool.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 04c7848b8f..83378c54ae 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -56,6 +56,7 @@ typedef struct CPUClass {
  * CPUState:
  * @created: Indicates whether the CPU thread has been successfully created.
  * @stop: Indicates a pending stop request.
+ * @stopped: Indicates the CPU has been artificially stopped.
  *
  * State of one CPU core or thread.
  */
@@ -71,6 +72,7 @@ struct CPUState {
     bool thread_kicked;
     bool created;
     bool stop;
+    bool stopped;
 
     /* TODO Move common fields from CPUArchState here. */
 };