From patchwork Tue Sep 15 14:10:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11776727 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 47F106CA for ; Tue, 15 Sep 2020 14:11:09 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16928206B5 for ; Tue, 15 Sep 2020 14:11:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=xen.org header.i=@xen.org header.b="Num1f4Ao" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16928206B5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kIBev-00049L-AC; Tue, 15 Sep 2020 14:10:13 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kIBes-00048m-QT for xen-devel@lists.xenproject.org; Tue, 15 Sep 2020 14:10:11 +0000 X-Inumbo-ID: 65b78b2c-0603-4ec2-9f3f-1bcf3b239a39 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 65b78b2c-0603-4ec2-9f3f-1bcf3b239a39; Tue, 15 Sep 2020 14:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From; bh=8eub7ryrRDuvkRXA+jDgZFqQhOukSnlVAdyG2KExWiY=; b=Num1f4 AoAMXHe1iCgc36YPuLKQiNAMIlnIB7F3ZNXTEyA86L5je8urNWA/IIwRMwJfrXkBANi+LxCQs5aDB t/iz5JLv5eZXrUQkcmwQYPE6K0Sgpw2ruTS5Fl5t5tBvhHmtYomuuBS5ZXPrpLLGuuJRrDjTxzZTj 596okQ+ASTE=; Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kIBer-0003nL-LC; Tue, 15 Sep 2020 14:10:09 +0000 Received: from host86-176-94-160.range86-176.btcentralplus.com ([86.176.94.160] helo=u2f063a87eabd5f.home) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIBer-0001rP-CF; Tue, 15 Sep 2020 14:10:09 +0000 From: Paul Durrant To: xen-devel@lists.xenproject.org Cc: Paul Durrant Subject: [PATCH v2 0/2] fix 'xl block-detach' Date: Tue, 15 Sep 2020 15:10:05 +0100 Message-Id: <20200915141007.25965-1-paul@xen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Paul Durrant This series makes it behave as the documentation states it should Paul Durrant (2): libxl: provide a mechanism to define a device 'safe remove' function... xl: implement documented '--force' option for block-detach docs/man/xl.1.pod.in | 4 ++-- tools/libxl/libxl.h | 33 +++++++++++++++++++++++++-------- tools/libxl/libxl_device.c | 9 +++++---- tools/libxl/libxl_disk.c | 4 +++- tools/libxl/libxl_domain.c | 2 +- tools/libxl/libxl_internal.h | 30 +++++++++++++++++++++++------- tools/xl/xl_block.c | 21 ++++++++++++++++----- tools/xl/xl_cmdtable.c | 3 ++- 8 files changed, 77 insertions(+), 29 deletions(-)