commit | edc2ae84eb40a3c062210fe01af1cae1633cc810 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Sep 12 13:53:08 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 20 13:00:07 2012 +0300 |
tree | 2e286495eef839146cb720429dae0cc98aa968bf | |
parent | 8ea667f259e3767fd3ee85a885c14e417835695e [diff] |
KVM: MMU: Optimize gpte_access() slightly If nx is disabled, then is gpte[63] is set we will hit a reserved bit set fault before checking permissions; so we can ignore the setting of efer.nxe. Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>