On 04/30/2018 07:37 AM, Jan Beulich wrote:
> @@ -1168,6 +1169,9 @@ static void noreturn svm_do_resume(struc
>  
>      hvm_do_resume(v);
>  
> +    if ( v->arch.hvm_svm.vmcb_sync_state == vmcb_needs_vmload )
> +        svm_sync_vmcb(v, vmcb_needs_vmsave);


Is it not possible (or advisable) to move the test into svm_sync_vmcb()
(and drop the ASSERT there)?

-boris

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to