>>> On 29.03.16 at 10:57, wrote:
>> -Original Message-
>> From: Jan Beulich [mailto:jbeul...@suse.com]
>> Sent: 29 March 2016 09:42
>> To: Paul Durrant
>> Cc: xen-de...@lists.xenproject.org
>> Subject: Re: [PATCH] x86/hvm/viridian: save APIC assist vector
>>
>> >>> On 24.03.16 at 18:19,
> -Original Message-
> From: Paul Durrant
> Sent: 29 March 2016 09:57
> To: 'Jan Beulich'
> Cc: xen-de...@lists.xenproject.org
> Subject: RE: [PATCH] x86/hvm/viridian: save APIC assist vector
>
> > -Original Message-
> > From: Jan Beulich [mailto:jbeul...@suse.com]
> > Sent: 29 Mar
> -Original Message-
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com]
> Sent: 24 March 2016 17:58
> To: Paul Durrant; xen-de...@lists.xenproject.org
> Cc: Jan Beulich
> Subject: Re: [Xen-devel] [PATCH] x86/hvm/viridian: save APIC assist vector
>
> On 24/0
> -Original Message-
> From: Jan Beulich [mailto:jbeul...@suse.com]
> Sent: 29 March 2016 09:42
> To: Paul Durrant
> Cc: xen-de...@lists.xenproject.org
> Subject: Re: [PATCH] x86/hvm/viridian: save APIC assist vector
>
> >>> On 24.03.16 at 18:19, wrote:
> > @@ -293,10 +292,11 @@ void viri
>>> On 24.03.16 at 18:19, wrote:
> @@ -293,10 +292,11 @@ void viridian_start_apic_assist(struct vcpu *v, int
> vector)
> * wrong and the VM will most likely hang so force a crash now
> * to make the problem clear.
> */
> -if ( v->arch.hvm_vcpu.viridian.apic_assist.vector >=
On 24/03/16 17:19, Paul Durrant wrote:
> @@ -293,10 +292,11 @@ void viridian_start_apic_assist(struct vcpu *v, int
> vector)
> * wrong and the VM will most likely hang so force a crash now
> * to make the problem clear.
> */
> -if ( v->arch.hvm_vcpu.viridian.apic_assist.vecto
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