xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: add misc/qemu-backends.txt
@ 2016-04-07  6:24 Juergen Gross
  2016-04-08 14:54 ` Konrad Rzeszutek Wilk
  2016-04-10 20:00 ` Stefano Stabellini
  0 siblings, 2 replies; 10+ messages in thread
From: Juergen Gross @ 2016-04-07  6:24 UTC (permalink / raw)
  To: xen-devel; +Cc: Juergen Gross, ian.jackson, jbeulich, stefano.stabellini

Document the interface between qemu and libxl regarding backends
supported by qemu.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 docs/misc/qemu-backends.txt | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 docs/misc/qemu-backends.txt

diff --git a/docs/misc/qemu-backends.txt b/docs/misc/qemu-backends.txt
new file mode 100644
index 0000000..f28755e
--- /dev/null
+++ b/docs/misc/qemu-backends.txt
@@ -0,0 +1,19 @@
+In order to know whether qemu supports a specific backend type libxl
+needs a way to obtain this information.
+
+As each qemu instance owns a path (named "<qemu>" from now on) in
+Xenstore the backend information is presented there. <qemu> is built
+from the domain id where the qemu instance is running <backend-dom>
+and the domain id of the target domain of the qemu process <domid>:
+
+<qemu> = /local/domain/<backend-dom>/device-model/<domid>
+
+Before signalling qemu is running by writing "running" to <qemu>/state
+qemu will create a Xenstore node for each supported backend under
+<qemu>/backends with the backend type as name (e.g.
+<qemu>/backends/qdisk for the qdisk backend).
+
+libxl can assume a backend of a specific type <type> is supported if:
+- <qemu>/backends/<type> is existing in Xenstore
+- or <qemu>/backends is not existing and <type> is one of:
+  "console", "vkbd", "vfb", "qdisk", "qnic"
-- 
2.6.6


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-11 12:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07  6:24 [PATCH] docs: add misc/qemu-backends.txt Juergen Gross
2016-04-08 14:54 ` Konrad Rzeszutek Wilk
2016-04-08 18:20   ` Juergen Gross
2016-04-08 18:27     ` Andrew Cooper
2016-04-11  5:01       ` Juergen Gross
2016-04-10 20:00 ` Stefano Stabellini
2016-04-11  4:52   ` Juergen Gross
2016-04-11 10:33   ` Wei Liu
2016-04-11 10:57     ` Juergen Gross
2016-04-11 12:05       ` Wei Liu

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).