mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.22.2.21 (3e4bf2aflO59Pk9VYHigeXQrI0c6Fw)
domain.c: Ensure DOM0's page directory is pinned in setup_guestos().
This commit is contained in:
1 parent
4b929a32df
commit
7b9dafce5d
1 file changed
+2
@@ -672,6 +672,8 @@ int setup_guestos(struct task_struct *p, dom0_newdomain_t *params)
|
||||
frame_table;
|
||||
cur_address <<= PAGE_SHIFT;
|
||||
}
|
||||
page->type_count |= REFCNT_PIN_BIT;
|
||||
page->tot_count |= REFCNT_PIN_BIT;
|
||||
page->flags = dom | PGT_l2_page_table;
|
||||
unmap_domain_mem(l1start);
|
||||
|
||||
|
||||