> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: Monday, January 7, 2019 8:03 PM
> 
> Saving and restoring the value of this MSR is currently handled by
> implementation-specific code despite it being architectural. This patch
> moves handling of accesses to this MSR from hvm.c into the msr.c, thus
> allowing the common MSR save/restore code to handle it.
> 
> This patch also changes hvm_get/set_guest_bndcfgs() to check CPUID policy
> for the appropriate feature, rather than hardware, and also re-works
> the get/set_guest_bndcfgs() hvm_funcs so they are no longer boolean.
> Uses
> of u64 are also converted to uint64_t.
> 
> NOTE: Because vmx_get/set_guest_bndcfgs() call vmx_vmcs_enter(), the
>       struct vcpu pointer passed in cannot be const.
> 
> Signed-off-by: Paul Durrant <paul.durr...@citrix.com>

Reviewed-by: Kevin Tian <kevin.t...@intel.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to