aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-02-17 20:14:41 -0200
committerAvi Kivity <avi@redhat.com>2010-02-22 10:58:33 +0200
commitfed6c3444c714e88eb84dae58fcde0182865db8f (patch)
treec818d7bf63d1ae667c8e8e8b94df11bc3fb19291 /kvm-all.c
parentadc8c965c401ec3becc14eabf7a5a6ba7a002f46 (diff)
kvm specific wait_io_event
In KVM mode the global mutex is released when vcpus are executing, which means acquiring the fairness mutex is not required. Also for KVM there is one thread per vcpu, so tcg_has_work is meaningless. Add a new qemu_wait_io_event_common function to hold common code between TCG/KVM. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions