]> git.proxmox.com Git - qemu.git/blobdiff - include/qom/cpu.h
cpu: Move current_tb field to CPUState
[qemu.git] / include / qom / cpu.h
index 42f3f34bbdd099b6eaceba742fccd571d6868b8f..c25a99780897c8c1d5a3091d29ad05a3dcee384f 100644 (file)
@@ -71,6 +71,7 @@ struct kvm_run;
  * @created: Indicates whether the CPU thread has been successfully created.
  * @stop: Indicates a pending stop request.
  * @stopped: Indicates the CPU has been artificially stopped.
+ * @current_tb: Currently executing TB.
  * @kvm_fd: vCPU file descriptor for KVM.
  *
  * State of one CPU core or thread.
@@ -99,6 +100,8 @@ struct CPUState {
     bool stopped;
     volatile sig_atomic_t exit_request;
 
+    struct TranslationBlock *current_tb;
+
     int kvm_fd;
     bool kvm_vcpu_dirty;
     struct KVMState *kvm_state;