[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code
> From: Paul Durrant [mailto:paul.durrant@xxxxxxxxxx] > 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.durrant@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |