[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen-unstable: Xen panic when shutting down HVM guest with PCI passthrough: RIP: e008:[<ffff82d0801099b1>] evtchn_move_pirqs+0x90/0xbf



>>> On 06.06.14 at 06:43, <JGross@xxxxxxxx> wrote:
> On 06/05/2014 06:22 PM, Andrew Cooper wrote:
>> c/s bac6334b5 "move domain to cpupool0 before destroying it" appears to
>> cause the crash identified the root of this thread.
>>
>> It appears to now move event channels after having torn parts of the
>> event channel infrastructure.
> 
> Hmm, does the following patch fix it?
> 
> 
> Juergen
> 
> diff --git a/xen/common/schedule.c b/xen/common/schedule.c
> index c174c41..3ea9fc8 100644
> --- a/xen/common/schedule.c
> +++ b/xen/common/schedule.c
> @@ -297,7 +297,8 @@ int sched_move_domain(struct domain *d, struct 
> cpupool *c)
>           spin_unlock_irq(lock);
> 
>           v->sched_priv = vcpu_priv[v->vcpu_id];
> -        evtchn_move_pirqs(v);
> +        if ( !d->is_dying )
> +            evtchn_move_pirqs(v);
> 
>           new_p = cpumask_cycle(new_p, c->cpu_valid);

Now that the patch was largely confirmed to help, would you mind
submitting it in proper shape?

Thanks, Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.