From: Paul Durrant <paul.durrant@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>, Tim Deegan <tim@xen.org>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Paul Durrant <paul.durrant@citrix.com>,
Jan Beulich <jbeulich@suse.com>
Subject: [PATCH v5 3/4] docs: Introduce xenstore paths for hotplug features
Date: Tue, 17 Nov 2015 11:32:04 +0000 [thread overview]
Message-ID: <1447759925-4441-4-git-send-email-paul.durrant@citrix.com> (raw)
In-Reply-To: <1447759925-4441-1-git-send-email-paul.durrant@citrix.com>
Without some indication from a guest 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 brought online.
(In other words whether guest PV drivers are present and functioning).
This patch documents 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 <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
---
v4:
- Clarify use of the hotplug feature paths
v2:
- Drop HVM restriction
---
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 b8788f2..624b7fd 100644
--- a/docs/misc/xenstore-paths.markdown
+++ b/docs/misc/xenstore-paths.markdown
@@ -409,6 +409,18 @@ A domain writable path. Available for arbitrary domain use.
A domain may write information about installed PV drivers using
paths of this form.
+#### ~/feature/hotplug/vif = ("0"|"1") [w]
+#### ~/feature/hotplug/vbd = ("0"|"1") [w]
+
+By setting these paths to "1" a guest can indicate to a toolstack
+that it is capable of responding immediately to instantiation of,
+respectively, new vif by bringing online a new PV network device or
+a new vbd by bringing online a new PV block device.
+If the guest sets this path to "0" then it is indicating that it is
+definitely unable to respond immediately and hence the toolstack should
+defer instantiaton to the next VM start. However, if the path is absent
+then the toolstack may attempt the operation.
+
### Paths private to the toolstack
#### ~/device-model/$DOMID/state [w]
--
2.1.4
next prev parent reply other threads:[~2015-11-17 11:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 11:32 [PATCH v5 0/4] docs: Document xenstore paths Paul Durrant
2015-11-17 11:32 ` [PATCH v5 1/4] docs: Introduce xenstore paths for PV control features Paul Durrant
2015-11-17 11:32 ` [PATCH v5 2/4] docs: Introduce xenstore paths for PV driver information Paul Durrant
2015-11-23 11:31 ` Ian Jackson
2015-11-17 11:32 ` Paul Durrant [this message]
2015-11-23 11:32 ` [PATCH v5 3/4] docs: Introduce xenstore paths for hotplug features Ian Jackson
2015-11-17 11:32 ` [PATCH v5 4/4] docs: Introduce xenstore paths for guest network address information Paul Durrant
2015-11-18 12:00 ` Olaf Hering
2015-11-18 12:04 ` Paul Durrant
2015-11-18 12:05 ` Andrew Cooper
2015-11-23 11:32 ` Ian Jackson
2015-11-24 16:53 ` [PATCH v5 0/4] docs: Document xenstore paths Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447759925-4441-4-git-send-email-paul.durrant@citrix.com \
--to=paul.durrant@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).