[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix live migration w/ shadow2.
# HG changeset patch # User Steven Hand <steven@xxxxxxxxxxxxx> # Node ID 28e3132b9f93b4844d4d8ad8df2984c09069a7cd # Parent b3bfff8b1c100016bd658d52fde459f4cf887129 Fix live migration w/ shadow2. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> --- xen/arch/x86/traps.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r b3bfff8b1c10 -r 28e3132b9f93 xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c Thu Aug 17 19:24:20 2006 +0100 +++ b/xen/arch/x86/traps.c Thu Aug 17 20:30:05 2006 +0100 @@ -890,8 +890,9 @@ static int fixup_page_fault(unsigned lon if ( VM_ASSIST(d, VMASST_TYPE_writable_pagetables) && guest_kernel_mode(v, regs) && - ((regs->error_code & (PGERR_write_access|PGERR_page_present)) == - (PGERR_write_access|PGERR_page_present)) && + /* Do not check if access-protection fault since the page may + legitimately be not present in shadow page tables */ + ((regs->error_code & PGERR_write_access) == PGERR_write_access) && ptwr_do_page_fault(d, addr, regs) ) return EXCRET_fault_fixed; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |