Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-30 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 30 March 2016 07:19 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org > Subject: Re: [PATCH v2] x86/hvm/viridian: save APIC assist vector > > >>> On 29.03.16 at 11:30, wrote: > > @@ -806,7 +808,8 @@ static i

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-29 Thread Jan Beulich
>>> On 29.03.16 at 11:30, wrote: > @@ -806,7 +808,8 @@ static int viridian_save_vcpu_ctxt(struct domain *d, > hvm_domain_context_t *h) > for_each_vcpu( d, v ) { > struct hvm_viridian_vcpu_context ctxt; > > -ctxt.apic_assist = v->arch.hvm_vcpu.viridian.apic_assist.msr.raw;

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-29 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xen.org] On Behalf Of > Paul Durrant > Sent: 29 March 2016 10:58 > To: Jan Beulich > Cc: xen-de...@lists.xenproject.org > Subject: Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-29 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 29 March 2016 10:53 > To: Paul Durrant > Cc: xen-de...@lists.xenproject.org > Subject: Re: [PATCH v2] x86/hvm/viridian: save APIC assist vector > > >>> On 29.03.16 at 11:30, wrote: > > If any vcpu has a pending AP

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-29 Thread Jan Beulich
>>> On 29.03.16 at 11:30, wrote: > If any vcpu has a pending APIC assist when the domain is suspended > then the vector needs to be saved. If this is not done then it's > possible for the vector to remain pending in the vlapic ISR > indefinitely after resume. > > This patch adds code to save the

[Xen-devel] [PATCH v2] x86/hvm/viridian: save APIC assist vector

2016-03-29 Thread Paul Durrant
If any vcpu has a pending APIC assist when the domain is suspended then the vector needs to be saved. If this is not done then it's possible for the vector to remain pending in the vlapic ISR indefinitely after resume. This patch adds code to save the APIC assist vector value in the viridian vcpu