On 04/07/2011 02:31 PM, Gleb Natapov wrote:
Remapping part is easy. As you are saying QEMU already does remapping,
Yes.
the only thing missing is creating/destroying/remapping KVM memory slot (with SMP it is slightly more complicated, but doable).
Yup. It's not impossible but not free.
But after doing this SMM will not Just Work in KVM on Intel because VMX does not support SMM mode and it can't be approximated by vm86, so KVM will have to emulate every single instruction while in SMM mode and this like will not work.
Isn't everyone using Westmere's at this point with unrestricted guest mode :-)
BTW, I assume that there's some kernel logic needed to enable SMM intercepts but I'm not entirely sure what's involved there.
Regards, Anthony Liguori
-- Gleb.
-- 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