commit | 110312c84b5fbd4daf5de2417fa8ab5ec883858d | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Dec 21 12:54:20 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:31:09 2011 +0200 |
tree | 704d8c4925d2ba236a0e6e97ee0733339210bce5 | |
parent | 07c116d2f53d721377fe428d067e2cecf80c906e [diff] |
KVM: VMX: Optimize atomic EFER load When NX is enabled on the host but not on the guest, we use the entry/exit msr load facility, which is slow. Optimize it to use entry/exit efer load, which is ~1200 cycles faster. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>