On 15.12.2009, at 06:29, Sheng Yang wrote:
> We don't support these instructions, but guest can execute them even if the
> feature('monitor') haven't been exposed in CPUID. So we would trap and inject
> a #UD if guest try this way.
Wouldn't it be a lot better to emulate them? I actually have emulation of
MONITOR/MWAIT on my todo list for some time, since OSX requires it.
Basically what they do is they guarantee that a MONITOR'ed region is on a page
boundary, so all we need to do is not map the monitor'ed page to wake up from
the mwait.
Alex--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html