From patchwork Fri Mar 24 10:15:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 9642545 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 232CB60327 for ; Fri, 24 Mar 2017 10:18:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1052727FB3 for ; Fri, 24 Mar 2017 10:18:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 050152823E; Fri, 24 Mar 2017 10:18:30 +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 786DA27FB3 for ; Fri, 24 Mar 2017 10:18:29 +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 1crMG2-0007M0-OP; Fri, 24 Mar 2017 10:15:46 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crMG1-0007Lu-9v for xen-devel@lists.xenproject.org; Fri, 24 Mar 2017 10:15:45 +0000 Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id FF/D4-01936-0D1F4D85; Fri, 24 Mar 2017 10:15:44 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRWlGSWpSXmKPExsXitHSDve6Fj1c iDO59YrH4vmUykwOjx+EPV1gCGKNYM/OS8isSWDNmXXrMXrCbt2LG8jtMDYxLuLsYOTkkBPwl 7nZ3M4LYbAI6ElOfXmLtYuTgEBFQkbi916CLkYuDWeA5k8TrDT/ZQWqEBfwkXl7vZAKpYRFQl Xg32xMkzCvgJrFyzWoWiJFyEueP/2QGsYWAxqyfOosNokZQ4uTMJ2A1zAISEgdfvGCewMg9C0 lqFpLUAkamVYzqxalFZalFumZ6SUWZ6RkluYmZObqGBqZ6uanFxYnpqTmJScV6yfm5mxiBgcA ABDsYpzY4H2KU5GBSEuV123YlQogvKT+lMiOxOCO+qDQntfgQowwHh5IE7+UPQDnBotT01Iq0 zBxgSMKkJTh4lER494KkeYsLEnOLM9MhUqcYdTnmzN79hkmIJS8/L1VKnPc0SJEASFFGaR7cC Fh8XGKUlRLmZQQ6SoinILUoN7MEVf4VozgHo5IwbxvIFJ7MvBK4Ta+AjmACOmL2BrAjShIRUl INjCH3Ai+UvGO0Ntzw7K+OsIBncaBRk2hN7KU3cWKiMe7LzgqyLf+u8ybLJXZRjdCqeS+nrCz 8w7J414Ithx5fX//s1o3mtfNvnyxe/OuiwPOZDVLtea9iY3Nk3WzS51yuideYcuqtgGNE8jTT oJ7QmVkrkmvkLsYv3ha781LSj9CPh33LOk8vLlNiKc5INNRiLipOBABfQqADigIAAA== X-Env-Sender: prvs=249263d75=Paul.Durrant@citrix.com X-Msg-Ref: server-14.tower-206.messagelabs.com!1490350542!52338596!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.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 49783 invoked from network); 24 Mar 2017 10:15:43 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 24 Mar 2017 10:15:43 -0000 X-IronPort-AV: E=Sophos;i="5.36,214,1486425600"; d="scan'208";a="424526511" From: Paul Durrant To: Date: Fri, 24 Mar 2017 10:15:37 +0000 Message-ID: <1490350537-2566-1-git-send-email-paul.durrant@citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Paul Durrant , Jan Beulich Subject: [Xen-devel] [PATCH] docs: update HVM emulated unplug protocol to cover NVMe disks 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 This patch defines a new bit in the mask used to instruct QEMU to unplug emulated devices. See thread [1] for the related discussion. [1] https://lists.xen.org/archives/html/xen-devel/2017-03/msg02924.html Signed-off-by: Paul Durrant --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu --- docs/misc/hvm-emulated-unplug.markdown | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/misc/hvm-emulated-unplug.markdown b/docs/misc/hvm-emulated-unplug.markdown index 8ead0c5..f6b27ed 100644 --- a/docs/misc/hvm-emulated-unplug.markdown +++ b/docs/misc/hvm-emulated-unplug.markdown @@ -32,12 +32,13 @@ drivers): blacklisted and should not load. 6. The drivers write a two-byte bitmask of devices to unplug to IO - port `0x10`. The defined fields are: + port `0x10`. The defined bits are: - * `1` -- All emulated disks (not including CD drives) - * `2` -- All emulated NICs - * `4` -- All IDE disks except for the primary master (not including CD - drives) + * `0` -- All emulated IDE and SCSI disks (not including CD drives). + * `1` -- All emulated NICs. + * `2` -- All IDE disks except for the primary master (not including CD + drives). This is overridden by bit 0. + * `3` -- All emulated NVMe disks. The relevant emulated devices then disappear from the relevant buses. For most guest operating systems, you want to do this