From patchwork Thu Sep 14 15:33:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9953383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 556ED60230 for ; Thu, 14 Sep 2017 15:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5149829130 for ; Thu, 14 Sep 2017 15:38:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4420129157; Thu, 14 Sep 2017 15:38:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 280AA29147 for ; Thu, 14 Sep 2017 15:38:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsWAy-0006OA-8g; Thu, 14 Sep 2017 15:35:36 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsWAx-0006O4-Ed for xen-devel@lists.xenproject.org; Thu, 14 Sep 2017 15:35:35 +0000 Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id 92/1E-30688-6C1AAB95; Thu, 14 Sep 2017 15:35:34 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeJIrShJLcpLzFFi42JxWrrBXvfYwl2 RBm8m81h83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBl7ftxmKXjHVjHz9zOmBsaPrF2MnBwSAv4S v/7MZQex2QSUJX529rKB2CICehJNB54zdjFycTALzGWU+HZoPViRsIChxPGX28CKWARUJe5ee sgMYvMKWEisuXqOCWKovMSutotgC4QEFCQ6ph9jgqgRlDg58wkLiM0sICFx8MUL5gmM3LOQpG YhSS1gZFrFqFGcWlSWWqRraKSXVJSZnlGSm5iZo2toYKqXm1pcnJiempOYVKyXnJ+7iREYDgx AsIOxb5bzIUZJDiYlUd69ujsjhfiS8lMqMxKLM+KLSnNSiw8xynBwKEnwHl6wK1JIsCg1PbUi LTMHGJgwaQkOHiUR3kSQNG9xQWJucWY6ROoUozHHjYfX/zBxdNy8+4dJiCUvPy9VSpyXERjyQ gIgpRmleXCDYBFziVFWSpiXEeg0IZ6C1KLczBJU+VeM4hyMSsK82iALeTLzSuD2vQI6hQnolD Ond4CcUpKIkJJqYKwXqtO9Pln5fcDLY9dN32u0reB4bjJfna0r8ePM3/yb+ENXrjXvvbJDZ+a 0rv9Tyy7vV74/V7j9XuSHhEVK6hEp31g/7xe63jEjouDVpQmX5/lEJL63+OLur250eMmqSZuP HTt86uUj+Y+2okzqJ5VvryqLlT9w47/ewYPPz9S9+fDteFUU41UjJZbijERDLeai4kQArfveH ZMCAAA= X-Env-Sender: prvs=423b67c62=wei.liu2@citrix.com X-Msg-Ref: server-11.tower-206.messagelabs.com!1505403329!90458772!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 46881 invoked from network); 14 Sep 2017 15:35:33 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-11.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 14 Sep 2017 15:35:33 -0000 X-IronPort-AV: E=Sophos;i="5.42,393,1500940800"; d="scan'208";a="447864019" From: Wei Liu To: Xen-devel Date: Thu, 14 Sep 2017 16:33:33 +0100 Message-ID: <20170914153333.29739-1-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Cc: Ian Jackson , Wei Liu , Oleksandr Grytsov , Jan Beulich Subject: [Xen-devel] [PATCH] libxl: fix disk listing function X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The path should be "vbd" not "disk". Fixes fbbaf2cc9 ("libxl: change disk to use generic getting list functions"). Signed-off-by: Wei Liu --- Cc: Jan Beulich Cc: Ian Jackson Cc: Oleksandr Grytsov This should unblock staging. --- tools/libxl/libxl_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_disk.c b/tools/libxl/libxl_disk.c index cfa5e8ae69..e7a955b32c 100644 --- a/tools/libxl/libxl_disk.c +++ b/tools/libxl/libxl_disk.c @@ -628,7 +628,7 @@ libxl_device_disk *libxl_device_disk_list(libxl_ctx *ctx, uint32_t domid, int *n GC_INIT(ctx); - r = libxl__device_list(gc, &libxl__disk_devtype, domid, "disk", num); + r = libxl__device_list(gc, &libxl__disk_devtype, domid, "vbd", num); GC_FREE;