From e82bcec25f19846bfb899d55c9fb5915516b378a Mon Sep 17 00:00:00 2001 From: Marcelo Tosatti Date: Tue, 4 May 2010 09:45:22 -0300 Subject: port qemu-kvm's on_vcpu code run_on_cpu allows to execute work on a given CPUState context. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- cpu-defs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpu-defs.h') diff --git a/cpu-defs.h b/cpu-defs.h index 01405967d0..c764d675e4 100644 --- a/cpu-defs.h +++ b/cpu-defs.h @@ -132,6 +132,7 @@ typedef struct icount_decr_u16 { struct kvm_run; struct KVMState; +struct qemu_work_item; typedef struct CPUBreakpoint { target_ulong pc; @@ -204,6 +205,7 @@ typedef struct CPUWatchpoint { uint32_t created; \ struct QemuThread *thread; \ struct QemuCond *halt_cond; \ + struct qemu_work_item *queued_work_first, *queued_work_last; \ const char *cpu_model_str; \ struct KVMState *kvm_state; \ struct kvm_run *kvm_run; \ -- cgit v1.2.3