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

2021-01-29 Thread Manuel Bouyer
On Thu, Jan 28, 2021 at 12:45:09PM +0100, Roger Pau Monné wrote: > On Tue, Jan 26, 2021 at 11:47:49PM +0100, Manuel Bouyer wrote: > > 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

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

2021-01-28 Thread Roger Pau Monné
On Tue, Jan 26, 2021 at 11:47:49PM +0100, Manuel Bouyer wrote: > 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 xenstore. Can you paste

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

2021-01-26 Thread 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 xenstore. Signed-off-by: Manuel Bouyer Reviewed-by: Roger Pau Monné ---