nested EPT: fix the handling of nested EPT
authorLiang Li <liang.z.li@intel.com>
Mon, 29 Jun 2015 21:27:16 +0000 (05:27 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 30 Jun 2015 14:00:54 +0000 (15:00 +0100)
commit71bb7304e7a7a35ea6df4b0cedebc35028e4c159
tree2fec4b92d52b11819c19a96e93197b21608b4b60
parenta9d44224ed3970eab86b41c20bee7a804edc5129
nested EPT: fix the handling of nested EPT

If the host EPT entry is changed, the nested EPT should be updated.
the current code does not do this, and it's wrong.
I have tested this patch, the L2 guest can boot and run as normal.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Reported-by: Tim Deegan <tim@xen.org>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/p2m.c