Messages in this thread | | | Subject | Re: [V2 PATCH 0/6] x86, NMI: give NMI handler a face-lift | From | Peter Zijlstra <> | Date | Fri, 19 Nov 2010 19:25:58 +0100 |
| |
On Fri, 2010-11-19 at 11:59 -0500, Don Zickus wrote: > Reading the kvm code in arch/x86/kernel/kvm/x86.c, it seems like they do > _not_ fault on writes, only on some (which don't include a bunch of the > perfctrs). The reason seems to be to prevent older distros from falling > apart that could not handle those faults properly.
Egads, that's just vile.. in that case we don't really need to do anything, its a qemu/KVM bug, they emulate non-working hardware.
Hmm,. there is something we can do though, write a non-zero counter value and then read it back, if its not what we wrote, its fudged and we disable the pmu.
| |