Yang, Sheng wrote:
> Here is the updated patch:
>
>   

Applied, thanks.

> @@ -1714,6 +1788,8 @@ static int vmx_vcpu_reset(struct kvm_vcpu *vcpu)
>       vmx_fpu_activate(&vmx->vcpu);
>       update_exception_bitmap(&vmx->vcpu);
>  
> +     vpid_sync_all();
> +
>       return 0;
>  
>   

This causes the new instruction to be executed unconditionally, which 
would #UD on older processors, no?  I replaced it with 
vpid_sync_vcpu_all() which seems sufficient, or do I miss something?

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to