[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] docs: add misc/qemu-backends.txt



commit 1e9f929b7875a0f630f229127127179ed3d5aefa
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Mon Apr 11 15:04:09 2016 +0200
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Wed Apr 20 18:59:11 2016 +0100

    docs: add misc/qemu-backends.txt
    
    Document the interface between qemu and libxl regarding backends
    supported by qemu.
    
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
    Reviewed-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
    Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 docs/misc/qemu-backends.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/docs/misc/qemu-backends.txt b/docs/misc/qemu-backends.txt
new file mode 100644
index 0000000..b8e1799
--- /dev/null
+++ b/docs/misc/qemu-backends.txt
@@ -0,0 +1,21 @@
+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). In case qemu is running de-privileged (not as
+user root) the backend nodes must be written before qemu is dropping
+privileges.
+
+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"
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.