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

[Xen-devel] [PATCH] libxl: fix regression introduced in 5c883cf036cf


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Wei Liu <wei.liu2@xxxxxxxxxx>
  • Date: Thu, 16 May 2019 10:11:53 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=wei.liu2@xxxxxxxxxx; spf=SoftFail smtp.mailfrom=wei.liu2@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Wei Liu <wei.liu2@xxxxxxxxxx>
  • Delivery-date: Thu, 16 May 2019 09:12:09 +0000
  • Ironport-sdr: UTtV3BoIHK++TLGmnLMT6o7Uv9A1hX9z7Fvi4H/LtbR7qcIh3YlH35vYQf4IaJUJx4z+BVe6yQ 5NBQh+eMugbR3+zTRkJaZ5V/ZfBMyZ4udw0Chyq0wjL8I2LJq6Eepo50CUgxT3Ip7LAyhciX34 EpZ7gD1qCgRhe1q7mCAWu2m62uhuD+wGTDTX6bK7USNwe3Rm/d3M5s53WfCzBYejDYpR8LHpXC H+YCtH1rOmpjMhpJ/wrDpfgmJlG3AqwGkTj/RBc3y41MlRqMM2JLIThooRdY7qHPb1t9qGA30X Zow=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Two lines were erroneously deleted during rebase which caused domain
destruction to fail.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
Sorry my usual test script failed to catch this.
---
 tools/libxl/libxl_device.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index f8340ba815..db6c0203b7 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -734,6 +734,11 @@ int libxl__device_destroy(libxl__gc *gc, libxl__device 
*dev)
     uint32_t domid;
     int libxl_only = dev->backend_kind == LIBXL__DEVICE_KIND_NONE;
 
+    if (!libxl_only) {
+        be_path = libxl__device_backend_path(gc, dev);
+        fe_path = libxl__device_frontend_path(gc, dev);
+    }
+
     rc = libxl__get_domid(gc, &domid);
     if (rc) goto out;
 
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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