This fixes a regression from
63753b3e ("x86: allow
VCPUOP_register_vcpu_info to work again on PVHVM guests").
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
/* Drop the in-use references to page-table bases. */
for_each_vcpu ( d, v )
+ {
vcpu_destroy_pagetables(v);
+ unmap_vcpu_info(v);
+ }
+
if ( !is_hvm_domain(d) )
{
for_each_vcpu ( d, v )
* mappings.
*/
destroy_gdt(v);
-
- unmap_vcpu_info(v);
}
if ( d->arch.pv_domain.pirq_eoi_map != NULL )