diff options
author | Dong, Eddie <eddie.dong@intel.com> | 2008-01-07 04:14:20 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 04:53:13 -0400 |
commit | 489f1d6526ab68ca1842398fa3ae95c597fe3d32 (patch) | |
tree | ce86e117d8bc74c410ad8168928c036497a93eb8 /include/asm-x86/trampoline.h | |
parent | c3bf9bc243092c53946fd6d8ebd6dc2f4e572d48 (diff) |
KVM: MMU: Update shadow ptes on partial guest pte writes
A guest partial guest pte write will leave shadow_trap_nonpresent_pte
in spte, which generates a vmexit at the next guest access through that pte.
This patch improves this by reading the full guest pte in advance and thus
being able to update the spte and eliminate the vmexit.
This helps pae guests which use two 32-bit writes to set a single 64-bit pte.
[truncation fix by Eric]
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Feng (Eric) Liu <eric.e.liu@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/trampoline.h')
0 files changed, 0 insertions, 0 deletions