]> xenbits.xensource.com Git - xen.git/commitdiff
nestedhvm: Flush L2 guest ASID across guest nestedhvm disable/enable.
authorChristoph Egger <Christoph.Egger@amd.com>
Fri, 15 Apr 2011 17:54:57 +0000 (18:54 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Fri, 15 Apr 2011 17:54:57 +0000 (18:54 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/arch/x86/hvm/nestedhvm.c

index fb239b9bb4a71d63b561d1cf971e40b684f5d008..7c77e9cbc438b65a346fae749e6f68768b4d2a3a 100644 (file)
@@ -62,6 +62,8 @@ nestedhvm_vcpu_reset(struct vcpu *v)
     nv->nv_flushp2m = 0;
     nv->nv_p2m = NULL;
 
+    hvm_asid_flush_vcpu_asid(&nv->nv_n2asid);
+
     if ( hvm_funcs.nhvm_vcpu_reset )
         hvm_funcs.nhvm_vcpu_reset(v);