On 04/15/11 14:53, Keir Fraser wrote: > On 15/04/2011 10:57, "Christoph Egger" wrote: > >> On 04/15/11 11:24, Keir Fraser wrote: >>> On 15/04/2011 10:08, "Christoph Egger" wrote: >> >> Just found another fallout that got lost from my original patch. >> >> After shutting down XP mode in Windows 7, Win7 turns off SVM in EFER >> after about 30 seconds. When starting XP mode again, Win 7 turns SVM on >> again. >> >> Then nv_n2asid can be stale. Attached patch fixes this. > > Should be using hvm_asid_flush_vcpu_asid(), so I'll fix the patch to use > that and then check it in. There are a lot of regressions now... I assume the non-nested virtualization case got broken. Attached patch covers the non-nested case (and contains the above discussed hvm_asid_flush_vcpu_asid() as it didn't appear yet upstream). Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632