On 04/15/11 11:24, Keir Fraser wrote:
On 15/04/2011 10:08, "Christoph Egger"<Christoph.Egger@xxxxxxx> wrote:
You didn't notice my subtle error in switching n1 and n2 asid selection in
svm_asid_handle_vmrun()? ;-)
Oh, now that you mention it...
Yeah, I fixed it before I checked it in (xen-unstable:23229).
A l2 smp guest actually boots up. Maybe I need to use more vcpus than I
have physical cpus to hit that bug.
I think it would have been a source of very subtle quite hard-to-repro bugs.
Not something you'd pick up in a simple does-it-boot smoke test. So a pretty
nasty bug all round!
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.
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
--
---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
xen_nh_asid.diff
Description: xen_nh_asid.diff
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|