« Previous | Next » 

Revision fed6c344


Added by Marcelo Tosatti about 12 years ago

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 <>
Signed-off-by: Avi Kivity <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences