x86: Fix shadow code's handling of p2m superpage changes
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Aug 2008 11:13:59 +0000 (12:13 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Aug 2008 11:13:59 +0000 (12:13 +0100)
commitf507885bc303208bd2a346033cd7b8ff4128af0d
treee4cd64705ba0bc0c6f665af19eb55bff356417bc
parentc954127bc64c613ba7a7feff17a1646677a6977d
x86: Fix shadow code's handling of p2m superpage changes

When a p2m superpage entry is shattered, it's important not to
unshadow any parts of the 2MB region that are still there afterwards.
Otherwise shattering a superpage that contains the guest's top-level
pagetable will cause the guest to be killed.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/shadow/common.c