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:
Jan Beulich committed 2016-05-04 09:43:37 +02:00
1 parent fdfd56453d
commit f85ea36ed1
1 file changed
+3 -1
+3 -1
View File
@@ -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 */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.