* Balaji Rao <[EMAIL PROTECTED]> wrote: > I was trying to enable the use of nmi watchdog within a linux guest > running in kvm. I have done it by allowing direct access to perfmon > msrs using the MSR_BITMAP field in vmcs region.
your patch looks pretty clean and simple to me - and it would make quite a bit of sense from the "completeness of architecture" POV to inject NMIs into KVM - even though it's obviously not that hard to interrupt a KVM guest context via other means ;-) at the least this would test the correctness of guest kernel NMI handling. We could even test things by injecting a very large stream of NMIs, which is not that easy on native hardware, etc. ( the emulation of "NMI reason" IO port could be accelerated too perhaps, instead of passing it over to qemu. ) so it's a good idea IMO. Ingo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel