> From: Paul Durrant [mailto:[email protected]] > 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 <[email protected]>
Reviewed-by: Kevin Tian <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
