Il 26/04/2014 11:40, Paolo Bonzini ha scritto:
Il 25/04/2014 09:39, Gerd Hoffmann ha scritto:
Anyone has plans to add smm support to kvm?
No plans, but it should be a Simple Matter Of Programming...
Well, we need:
- an extra ioctl to inject an SMI (can be modeled after KVM_NMI)
- an extra user exit triggered when SMM is entered or left
- an extra ioctl (or a GET/SET_ONE_REG implementation) to read/write
whether we are in SMM, used to determine whether the #UD produced by RSM
should be forwarded to the guest or trigger emulation.
Paolo
A good start would be to write unit tests for SMM that work with QEMU.
Too bad we're late, it could have been a nice summer of code project.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html