From patchwork Thu Sep 3 10:05:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11752995 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 7B72F1575 for ; Thu, 3 Sep 2020 10:06:48 +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 544562071B for ; Thu, 3 Sep 2020 10:06:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=xen.org header.i=@xen.org header.b="VETSJdn7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 544562071B 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 1kDm7h-0000xz-Qh; Thu, 03 Sep 2020 10:05:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kDm7g-0000xt-JF for xen-devel@lists.xenproject.org; Thu, 03 Sep 2020 10:05:40 +0000 X-Inumbo-ID: 1b34833f-115a-420b-9c76-5bd8b6597e15 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1b34833f-115a-420b-9c76-5bd8b6597e15; Thu, 03 Sep 2020 10:05:39 +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=CvD2o1yF1nEodgtDZ2rcJG1/GIjvJzBtuBwUDERucQM=; b=VETSJd n7ffTljgT+dpexcXLA4v5+t2NztKHi/h5ZnUvNUdwQ1oIENgIB2lnZJeC49xbKUmC+A1XLESL4+53 F1C54/gYli8v7JKAXOmPbGHCcZSCDHMdCRD/Z6C+fGaywd4lfCT/DJzMP5u7s9cElFqG+CceyNdvm +6hn/1QwO+o=; Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kDm7f-0005ar-0Z; Thu, 03 Sep 2020 10:05:39 +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 1kDm7e-0007WE-Oe; Thu, 03 Sep 2020 10:05:38 +0000 From: Paul Durrant To: xen-devel@lists.xenproject.org Cc: Paul Durrant Subject: [PATCH 0/2] fix 'xl block-detach' Date: Thu, 3 Sep 2020 11:05:35 +0100 Message-Id: <20200903100537.1337-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): xl: implement documented --force option for block-detach libxl: do not automatically force detach of block devices docs/man/xl.1.pod.in | 4 ++-- tools/libxl/libxl_device.c | 9 ++++++--- tools/xl/xl_block.c | 21 ++++++++++++++++----- tools/xl/xl_cmdtable.c | 3 ++- 4 files changed, 26 insertions(+), 11 deletions(-)