From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Durrant Subject: [PATCH 3/4] docs: Document xenstore paths for domain hotplug features Date: Fri, 6 Nov 2015 17:21:46 +0000 Message-ID: <1446830507-4233-5-git-send-email-paul.durrant@citrix.com> References: <1446830507-4233-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZukkA-0000bH-7J for xen-devel@lists.xenproject.org; Fri, 06 Nov 2015 17:24:06 +0000 In-Reply-To: <1446830507-4233-1-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Keir Fraser , Ian Campbell , Tim Deegan , Ian Jackson , Paul Durrant , Jan Beulich List-Id: xen-devel@lists.xenproject.org Without some indication from an HVM domain it is not possible for a toolstack to know whether instantiation of a new vbd or vif should result in a new PV device of the appropriate type being instantiated in a guest. (In other words whether PV drivers are present and functioning). This patch document two paths which vif and vbd frontend drivers can use to advertise their ability to respond to new vif or vbd instantiations. Signed-off-by: Paul Durrant Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan --- docs/misc/xenstore-paths.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/misc/xenstore-paths.markdown b/docs/misc/xenstore-paths.markdown index 7701632..9e98d6f 100644 --- a/docs/misc/xenstore-paths.markdown +++ b/docs/misc/xenstore-paths.markdown @@ -387,6 +387,18 @@ A domain writable path. Available for arbitrary domain use. A domain may write version information for PV driver $NAME using this path. +#### ~/feature/hotplug/vif = ("0"|"1") [w,HVM] + +An HVM domain can indicate to a toolstack that it is capable +of responding to instantiation of a new vif by bringing online a +new PV network device without the need for a reboot. + +#### ~/feature/hotplug/vbd = ("0"|"1") [w,HVM] + +An HVM domain can indicate to a toolstack that it is capable +of responding to instantiation of a new vbd by bringing online a +new PV block device without the need for a reboot. + ### Paths private to the toolstack #### ~/device-model/$DOMID/state [w] -- 2.1.4