commit | 40712faeb84dacfcb3925a88231daa08b3624d34 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Jan 06 18:09:12 2011 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Mar 17 13:08:26 2011 -0300 |
tree | f2d916b387dcf6613a4a3a43d10f96b979eb17f2 | |
parent | 1c696d0e1b7c10e1e8b34cb6c797329e3c33f262 [diff] |
KVM: VMX: Avoid atomic operation in vmx_vcpu_run Instead of exchanging the guest and host rcx, have separate storage for each. This allows us to avoid using the xchg instruction, which is is a little slower than normal operations. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>