Re: [Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code

2019-03-11 Thread Jan Beulich
>>> On 11.03.19 at 17:10, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 08 March 2019 16:40 >> >> >>> On 07.01.19 at 13:02, wrote: >> > @@ -3472,12 +3494,6 @@ int hvm_msr_read_intercept(unsigned int msr, >> > uint64_t *msr_content) >> > *msr_content =

Re: [Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code

2019-03-11 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 08 March 2019 16:40 > To: Paul Durrant > Cc: Andrew Cooper ; Roger Pau Monne > ; Wei Liu > ; Jun Nakajima ; Kevin Tian > ; xen- > devel > Subject: Re: [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS

Re: [Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code

2019-03-08 Thread Jan Beulich
>>> On 07.01.19 at 13:02, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -308,11 +308,16 @@ int hvm_set_guest_pat(struct vcpu *v, u64 guest_pat) > return 1; > } > > -bool hvm_set_guest_bndcfgs(struct vcpu *v, u64 val) > +bool hvm_set_guest_bndcfgs(struct vcpu

Re: [Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code

2019-01-27 Thread Tian, Kevin
> 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

[Xen-devel] [PATCH 1/6] x86: stop handling MSR_IA32_BNDCFGS save/restore in implementation code

2019-01-07 Thread Paul Durrant
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