diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-02-17 20:14:41 -0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-02-22 10:58:33 +0200 |
commit | fed6c3444c714e88eb84dae58fcde0182865db8f (patch) | |
tree | c818d7bf63d1ae667c8e8e8b94df11bc3fb19291 /kvm.h | |
parent | adc8c965c401ec3becc14eabf7a5a6ba7a002f46 (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.h')
0 files changed, 0 insertions, 0 deletions