mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/p2m: also tear down altp2m
Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Release-acked-by: Wei Liu <wei.liu2@citrix.com> Acked-by: George Dunlap <george.dunlap@citrix.com>
This commit is contained in:
1 parent
fdfd56453d
commit
f85ea36ed1
1 file changed
+3
-1
@@ -618,9 +618,11 @@ void p2m_teardown(struct p2m_domain *p2m)
|
||||
|
||||
void p2m_final_teardown(struct domain *d)
|
||||
{
|
||||
/* We must teardown unconditionally because
|
||||
/*
|
||||
* We must teardown both of them unconditionally because
|
||||
* we initialise them unconditionally.
|
||||
*/
|
||||
p2m_teardown_altp2m(d);
|
||||
p2m_teardown_nestedp2m(d);
|
||||
|
||||
/* Iterate over all p2m tables per domain */
|
||||
|
||||