Message ID | 7a7f4f35db514e0fa112e59dd2e686be@AMSPEX02CL03.citrite.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 05/18/2016 10:27 AM, Paul Durrant wrote: > This should fix the problem for you: Yes, that does it. Thanks. -boris > > diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c > index 1c7f49b..83deeeb 100644 > --- a/drivers/net/xen-netback/interface.c > +++ b/drivers/net/xen-netback/interface.c > @@ -780,9 +780,8 @@ void xenvif_disconnect_ctrl(struct xenvif *vif) > vif->ctrl_task = NULL; > } > > - xenvif_deinit_hash(vif); > - > if (vif->ctrl_irq) { > + xenvif_deinit_hash(vif); > unbind_from_irqhandler(vif->ctrl_irq, vif); > vif->ctrl_irq = 0; > }
> -----Original Message----- > From: Boris Ostrovsky [mailto:boris.ostrovsky@oracle.com] > Sent: 18 May 2016 15:57 > To: Paul Durrant; xen-devel > Subject: Re: Saving a guest crashes dom0 > > On 05/18/2016 10:27 AM, Paul Durrant wrote: > > This should fix the problem for you: > > > Yes, that does it. Thanks. Brilliant :-) I'll post now. Paul > > -boris > > > > > > diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen- > netback/interface.c > > index 1c7f49b..83deeeb 100644 > > --- a/drivers/net/xen-netback/interface.c > > +++ b/drivers/net/xen-netback/interface.c > > @@ -780,9 +780,8 @@ void xenvif_disconnect_ctrl(struct xenvif *vif) > > vif->ctrl_task = NULL; > > } > > > > - xenvif_deinit_hash(vif); > > - > > if (vif->ctrl_irq) { > > + xenvif_deinit_hash(vif); > > unbind_from_irqhandler(vif->ctrl_irq, vif); > > vif->ctrl_irq = 0; > > }
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 1c7f49b..83deeeb 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -780,9 +780,8 @@ void xenvif_disconnect_ctrl(struct xenvif *vif) vif->ctrl_task = NULL; } - xenvif_deinit_hash(vif); - if (vif->ctrl_irq) { + xenvif_deinit_hash(vif); unbind_from_irqhandler(vif->ctrl_irq, vif); vif->ctrl_irq = 0; }