kvm: Do not use qemu_fair_mutex
commitb66042c722e4e7b2811a08873b1ecf2c2c1e5f0a
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 21 Jan 2011 20:48:20 +0000 (21 21:48 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 23 Jan 2011 04:27:22 +0000 (23 02:27 -0200)
tree0f2245f8f73e69bb324726ee0c24238b72071e5d
parentb0c883b5e079a4f719c43f875034e5e665ccc232
kvm: Do not use qemu_fair_mutex

The imbalance in the hold time of qemu_global_mutex only exists in TCG
mode. In contrast to TCG VCPUs, KVM drops the global lock during guest
execution. We already avoid touching the fairness lock from the
IO-thread in KVM mode, so also stop using it from the VCPU threads.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c