From d6dc3d424e26b49e1f37f1ef2598eacf3bc4eac7 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 24 Apr 2009 18:04:07 +0000 Subject: qemu: introduce iothread (Marcelo Tosatti) Fill in the hooks and introduce iothread. Signed-off-by: Marcelo Tosatti Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7248 c046a42c-6fe2-441c-8c8c-71466251a162 --- cpu-defs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpu-defs.h') diff --git a/cpu-defs.h b/cpu-defs.h index 7cbf85d..0a82197 100644 --- a/cpu-defs.h +++ b/cpu-defs.h @@ -170,6 +170,8 @@ typedef struct CPUWatchpoint { target_ulong mem_io_vaddr; /* target virtual addr at which the \ memory was accessed */ \ uint32_t halted; /* Nonzero if the CPU is in suspend state */ \ + uint32_t stop; /* Stop request */ \ + uint32_t stopped; /* Artificially stopped */ \ uint32_t interrupt_request; \ volatile sig_atomic_t exit_request; \ /* The meaning of the MMU modes is defined in the target code. */ \ @@ -210,6 +212,9 @@ typedef struct CPUWatchpoint { /* user data */ \ void *opaque; \ \ + uint32_t created; \ + struct QemuThread *thread; \ + struct QemuCond *halt_cond; \ const char *cpu_model_str; \ struct KVMState *kvm_state; \ struct kvm_run *kvm_run; \ -- cgit v1.1