Avi Kivity wrote:
On 08/12/2009 04:15 PM, Anthony Liguori wrote:
While the code looks nicer with the second patch, the fact that get_rflags() does a vmcs_read() seems 7 times more than before seems unfortunate.

We can add kvm_rflags_read(), see kvm_cache_regs.h. In any case, it's purely academic since task switches are rare and incredibly slow anyway (you have to vmcs_write() the entire register set for one).

Fair enough.

--
Regards,

Anthony Liguori

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to