Alexander Graf wrote:

This should be done in x86.c and made to apply to svm as well. Other VMMs would use efer.svme as an indication that svm is in use, similar to cr4.vmxe today.

Right, that sounds good. So just track the usage counter in x86.c and then split the hardware_{en,dis}able functions?

What's there to split in hardware_enable()?

Or do you want to actually call hardware_{en,dis}able on the usage counter events?

Yes.

There is no real need to enable/disable everything just because of the usage counter.

All it does is enable the feature, enable vmxe, and vmxon. I don't think we gain anything by splitting it.

--
error compiling committee.c: too many arguments to function

--
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

Reply via email to