On 15/04/2016 12:37, Yang Zhang wrote: >> I don't think this is performance-sensitive, hence it's simpler to keep >> the code as simple as possible. For example, if one added XSETBV >> support to the emulator, your patch would introduce a bug. > > In what case we need to decode XSETBV? The emulator can be a way to unify code between vmx and svm. It is an alternative to writing small wrapper functions such as kvm_set_xcr. Thanks, Paolo -- 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