>>> On 14.03.19 at 14:51, <paul.durr...@citrix.com> wrote:
> 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.
> 
> NOTE: Because vmx_get/set_guest_bndcfgs() call vmx_vmcs_enter(), the
>       struct vcpu pointer passed in, and hence the vcpu pointer passed to
>       guest_rdmsr() cannot be const.
> 
> Signed-off-by: Paul Durrant <paul.durr...@citrix.com>
> ---
> Cc: Kevin Tian <kevin.t...@intel.com>
> Cc: Jan Beulich <jbeul...@suse.com>
> Cc: Andrew Cooper <andrew.coop...@citrix.com>
> Cc: Wei Liu <wei.l...@citrix.com>
> Cc: "Roger Pau Monné" <roger....@citrix.com>
> Cc: Jun Nakajima <jun.nakaj...@intel.com>
> 
> v4:
>  - Cosmetic re-arrangements and an additional ASSERT requested by Jan
> 
> v3:
>  - Address further comments from Jan
>  - Dropped Kevin's R-b because of change to vmx.c

Kevin,

you may not have noticed the above.

Thanks, Jan


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

Reply via email to