Re: [PATCH] NetBSD hotplug: fix block unconfigure on destroy

2021-01-27 Thread Manuel Bouyer
On Wed, Jan 27, 2021 at 10:40:43AM +0100, Roger Pau Monné wrote: > That's weird. Linux hotplug script will unconditionally read the > params node and we had no complaints there. Can you assert this still > happens with the latest version of Xen? It does with Xen 4.13 for sure. > > As said I thi

Re: [PATCH] NetBSD hotplug: fix block unconfigure on destroy

2021-01-27 Thread Roger Pau Monné
On Tue, Jan 26, 2021 at 05:47:49PM +0100, Manuel Bouyer wrote: > On Fri, Jan 15, 2021 at 04:27:12PM +0100, Roger Pau Monné wrote: > > On Tue, Jan 12, 2021 at 07:12:24PM +0100, Manuel Bouyer wrote: > > > From: Manuel Bouyer > > > > > > When a domain is destroyed, xparams may not be available any m

Re: [PATCH] NetBSD hotplug: fix block unconfigure on destroy

2021-01-26 Thread Manuel Bouyer
On Fri, Jan 15, 2021 at 04:27:12PM +0100, Roger Pau Monné wrote: > On Tue, Jan 12, 2021 at 07:12:24PM +0100, Manuel Bouyer wrote: > > From: Manuel Bouyer > > > > When a domain is destroyed, xparams may not be available any more when > > the block script is called to unconfigure the vnd. > > Check

Re: [PATCH] NetBSD hotplug: fix block unconfigure on destroy

2021-01-15 Thread Roger Pau Monné
On Tue, Jan 12, 2021 at 07:12:24PM +0100, Manuel Bouyer wrote: > From: Manuel Bouyer > > When a domain is destroyed, xparams may not be available any more when > the block script is called to unconfigure the vnd. > Check xparam only at configure time, and just unconfigure any vnd present > in the