|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Paging and memory sharing for HVM guests
I've attached two patches which fix up the copyright and remove the commented out code. They can be applied in any order. Patrick Patrick Colp wrote: 1). mem_event_xen_core.patch "Copyright (c) 2009 Citrix (R)&D) Ltd. (Patrick Colp)"The lawyers might not like it the copyright being assigned to a non-existententity :-(Oops. That should be easy enough to fix. Fix error in the copyright for mem_event.c. Signed-off-by: Patrick Colp <Patrick.Colp@xxxxxxxxxx> diff -r 750a177eeca5 xen/arch/x86/mm/mem_event.c --- a/xen/arch/x86/mm/mem_event.c Thu Dec 17 16:09:19 2009 +0000 +++ b/xen/arch/x86/mm/mem_event.c Thu Dec 17 09:17:11 2009 -0800 @@ -3,7 +3,7 @@ * * Memory event support. * - * Copyright (c) 2009 Citrix (R)&D) Ltd. (Patrick Colp) + * Copyright (c) 2009 Citrix (R&D) Ltd. (Patrick Colp) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by Remove commented out p2m paging type check code from guest_walk.c.
Signed-off-by: Patrick Colp <Patrick.Colp@xxxxxxxxxx>
diff -r 568cd42c9156 xen/arch/x86/mm/hap/guest_walk.c
--- a/xen/arch/x86/mm/hap/guest_walk.c Thu Dec 17 09:17:12 2009 -0800
+++ b/xen/arch/x86/mm/hap/guest_walk.c Thu Dec 17 09:21:56 2009 -0800
@@ -49,8 +49,7 @@
top_mfn = gfn_to_mfn_unshare(v->domain, cr3 >> PAGE_SHIFT, &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
+ p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
@@ -82,8 +81,7 @@
gfn_to_mfn_unshare(v->domain, gfn_x(gfn), &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, gfn_x(gfn));
+ p2m_mem_paging_populate(v->domain, gfn_x(gfn));
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |