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

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


  • To: Manuel Bouyer <bouyer@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 28 Jan 2021 12:45:09 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BFgyaDf/neRc0hhIgSVJ9lSFNEkaCiSbvTt8DiCV8Tk=; b=M7iqarCpxhrYt4nNpLqEfD8ooaKyTooqbr0JkrKxAPOeFbcpMwarBw6ag62VjpvjlNrxolN7i5r/ajpfyhLesKxWwb8YoFjPtDQLZZo3LhBGtlot7hLGEXCAj83/P1YALtXe4CDvves4lC6VXrazoeaTjpNFacS0GCtzlJKNBbjd6tZAicggxmzuh1TOnjvjhSGufE4qbM0NVv/4GPHnKdsLzHNAL7dkannGwCHPzHRMTp4nTL28XkuNbxn9+/EJEVEVVG8aTka3dcwme8A7XCxaik54lFmvUyxpmWzyutPh6JpusBsinoIWeEdO617Rdo5Cw31aglEusRwe0XLiTw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XGOJ2TgcQzQeKrdjIxX6u2chjUpL95RwquGtYPnak6csJ6T/Z3h6pkXewobQaywKhoWSCxRd1nTH78ZKuTNP0H0xPQo0YqdhfsU958C35iL1ZhvrJJjJWgxBjB4N8liI3zXvZTCoalKMOZBZMDobI6fs7X85cgZwyij4mVpfbAwcnRVciy8ygSDNIhojrSl9urlyD/UyQI3D05I6BF+Jt8RHDK4kCf/yjlnvwGf8dAjM0BzeSSDYOvSL9xvLrmgVp00PKnT7CDcR7OzuIjq7MfxaY9N/AQm/7l7SOr3F3gFTUnA0lLQ4fVDRm9IouOw38yCE8AiI8cPEw12SIn4JEw==
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 28 Jan 2021 11:45:26 +0000
  • Ironport-sdr: +Rd0BZt6k4F5lJj4tSyuwLrSJIR0q8vUd+dAoHHRzl4DoHJPXp2TJSbSXSBI+lU4xEybRAT78U Wjm6SiQsezzdM6ZUT+HAkLGRR3O0zbBle4e1XThIyrlMtb+eGIIoZ8kyXpBCgRZIOYqocVvI3y BB0yEHjlHRagZqqHvKrhUk+HDHz1neV079B44FHTthtNCBUi7EU74vEouVrwi5aYlI4XrG0Ufr qptK6q7JuMSPy5S/jB1rLCuBxoJnPUl8OZ9TV5pN4/mxt/4cFn1iQMI8d4+Ksuew4V9697thVu fyc=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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 the output of `xl -vvv destroy ...` when this happens?
I'm puzzled as to why the nodes would be removed before hotplug script
execution. Could this somehow be done by NetBSD blkback?

Thanks, Roger.



 


Rackspace

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