]> git.proxmox.com Git - qemu.git/blobdiff - include/qemu/cpu.h
cpu: Move stopped field to CPUState
[qemu.git] / include / qemu / cpu.h
index 04c7848b8f638919ac53f13300bd9254a4142bcc..83378c54aec66f24e5bd71fc273d578899a62971 100644 (file)
@@ -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. */
 };