diff options
author | Chegu Vinod <chegu_vinod@hp.com> | 2013-06-24 03:49:41 -0600 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-07-12 19:36:01 +0200 |
commit | 3c02270db980007424d797506301826310ce2db4 (patch) | |
tree | 894c91ae01531ca4c15d7bf6093da2288201ceb0 /include/qemu-common.h | |
parent | 25ca6a1f5a3ee0a1ae670590877ed14f05e28fba (diff) |
Introduce async_run_on_cpu()
Introduce an asynchronous version of run_on_cpu() i.e. the caller
doesn't have to block till the call back routine finishes execution
on the target vcpu.
Signed-off-by: Chegu Vinod <chegu_vinod@hp.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/qemu-common.h')
-rw-r--r-- | include/qemu-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h index f4397388f5..6948bb9177 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -293,6 +293,7 @@ struct qemu_work_item { void (*func)(void *data); void *data; int done; + bool free; }; |