31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
|
changeset: 24105:89efd82620ec
|
||
|
user: Olaf Hering <olaf@aepfle.de>
|
||
|
date: Tue Nov 08 19:35:01 2011 +0000
|
||
|
files: xen/arch/x86/mm/p2m.c
|
||
|
description:
|
||
|
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@aepfle.de>
|
||
|
Committed-by: Keir Fraser <keir@xen.org>
|
||
|
|
||
|
|
||
|
---
|
||
|
xen/arch/x86/mm/p2m.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
Index: xen-4.1.2-testing/xen/arch/x86/mm/p2m.c
|
||
|
===================================================================
|
||
|
--- xen-4.1.2-testing.orig/xen/arch/x86/mm/p2m.c
|
||
|
+++ xen-4.1.2-testing/xen/arch/x86/mm/p2m.c
|
||
|
@@ -3060,7 +3060,7 @@ void p2m_mem_paging_populate(struct p2m_
|
||
|
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;
|