]> git.proxmox.com Git - qemu.git/blobdiff - include/qom/cpu.h
cpu: Move singlestep_enabled field from CPU_COMMON to CPUState
[qemu.git] / include / qom / cpu.h
index 4e5ec779195b5ceb6f42f7547edca8ae17c5a9c4..94302a415ecdfa85abd0b1e3944e48174e31577b 100644 (file)
@@ -133,6 +133,7 @@ struct kvm_run;
  * @stopped: Indicates the CPU has been artificially stopped.
  * @tcg_exit_req: Set to force TCG to stop executing linked TBs for this
  *           CPU and return to its top level loop.
+ * @singlestep_enabled: Flags for single-stepping.
  * @env_ptr: Pointer to subclass-specific CPUArchState field.
  * @current_tb: Currently executing TB.
  * @next_cpu: Next CPU sharing TB cache.
@@ -165,6 +166,7 @@ struct CPUState {
     volatile sig_atomic_t exit_request;
     volatile sig_atomic_t tcg_exit_req;
     uint32_t interrupt_request;
+    int singlestep_enabled;
 
     void *env_ptr; /* CPUArchState */
     struct TranslationBlock *current_tb;