projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1186671
)
xenpaging: compare domain pointer in p2m_mem_paging_populate
author
Olaf Hering
<olaf@aepfle.de>
Tue, 8 Nov 2011 19:35:01 +0000
(19:35 +0000)
committer
Olaf Hering
<olaf@aepfle.de>
Tue, 8 Nov 2011 19:35:01 +0000
(19:35 +0000)
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
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index 7d1a8a9b1e5cf9e4648fb74ec6a52e504ef430d7..93ee1a811f4217ccec17fc3e2e1fe229422f41e4 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-906,7
+906,7
@@
void p2m_mem_paging_populate(struct domain *d, unsigned long gfn)
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_i
d )
+ if ( p2m_is_paging(p2mt) && v->domain
==
d )
{
vcpu_pause_nosync(v);
req.flags |= MEM_EVENT_FLAG_VCPU_PAUSED;