commit | d94e1dc9af60e3431a586c3edfbe42d8a0d3932b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon May 03 16:54:48 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:35:37 2010 +0300 |
tree | c9ae8e5e69241d51898ab657d0ff48004b5bd4dc | |
parent | 54b8486f469475d6c8e8aec917b91239a54eb8c8 [diff] |
KVM: Get rid of KVM_REQ_KICK KVM_REQ_KICK poisons vcpu->requests by having a bit set during normal operation. This causes the fast path check for a clear vcpu->requests to fail all the time, triggering tons of atomic operations. Fix by replacing KVM_REQ_KICK with a vcpu->guest_mode atomic. Signed-off-by: Avi Kivity <avi@redhat.com>