[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xenpaging: compare domain pointer in p2m_mem_paging_populate



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1320780901 0
# Node ID 89efd82620ec72d0a6dad5b977d1cdd45a1d701a
# Parent  4daa4ad90f1267d1dccb0873d680850db8311f2b
xenpaging: compare domain pointer in p2m_mem_paging_populate

Compare just the domain pointer instead of the domain_id number.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 4daa4ad90f12 -r 89efd82620ec xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Tue Nov 08 19:33:46 2011 +0000
+++ b/xen/arch/x86/mm/p2m.c     Tue Nov 08 19:35:01 2011 +0000
@@ -906,7 +906,7 @@
     p2m_unlock(p2m);
 
     /* Pause domain if request came from guest and gfn has paging type */
-    if (  p2m_is_paging(p2mt) && v->domain->domain_id == d->domain_id )
+    if (  p2m_is_paging(p2mt) && v->domain == d )
     {
         vcpu_pause_nosync(v);
         req.flags |= MEM_EVENT_FLAG_VCPU_PAUSED;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.