mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: per-domain p2m structure must be initialised to all-zeroes when
it is allocated. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
c6b4652705
commit
dc4c72a5fc
1 file changed
+1
@@ -414,6 +414,7 @@ int p2m_init(struct domain *d)
|
||||
|
||||
d->arch.p2m = p2m;
|
||||
|
||||
memset(p2m, 0, sizeof(*p2m));
|
||||
p2m_lock_init(p2m);
|
||||
INIT_LIST_HEAD(&p2m->pages);
|
||||
|
||||
|
||||