From 5d6768e3b8908a60f0a3016b7fa24194f6b47c80 Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Fri, 22 Feb 2013 12:39:51 +0900 Subject: sheepdog: accept URIs The URI syntax is consistent with the NBD and Gluster syntax. The syntax is sheepdog[+tcp]://[host:port]/vdiname[#snapid|#tag] Signed-off-by: MORITA Kazutaka Signed-off-by: Stefan Hajnoczi --- qemu-options.hx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'qemu-options.hx') diff --git a/qemu-options.hx b/qemu-options.hx index 797d992804..e8fb78c5eb 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2099,23 +2099,13 @@ QEMU supports using either local sheepdog devices or remote networked devices. Syntax for specifying a sheepdog device -@table @list -``sheepdog:'' - -``sheepdog::'' - -``sheepdog::'' - -``sheepdog:::'' - -``sheepdog::::'' - -``sheepdog::::'' -@end table +@example +sheepdog[+tcp]://[host:port]/vdiname[#snapid|#tag] +@end example Example @example -qemu-system-i386 --drive file=sheepdog:192.0.2.1:30000:MyVirtualMachine +qemu-system-i386 --drive file=sheepdog://192.0.2.1:30000/MyVirtualMachine @end example See also @url{http://http://www.osrg.net/sheepdog/}. -- cgit v1.2.1 From 1b8bbb46e7593b92ded74cc2a5461202c2b6c05c Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Fri, 22 Feb 2013 12:39:53 +0900 Subject: sheepdog: add support for connecting to unix domain socket This patch adds support for a unix domain socket for a connection between qemu and local sheepdog server. You can use the unix domain socket with the following syntax: $ qemu sheepdog+unix:///?socket=[#snapid] Signed-off-by: MORITA Kazutaka Signed-off-by: Stefan Hajnoczi --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-options.hx') diff --git a/qemu-options.hx b/qemu-options.hx index e8fb78c5eb..f598d7a395 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2100,7 +2100,7 @@ devices. Syntax for specifying a sheepdog device @example -sheepdog[+tcp]://[host:port]/vdiname[#snapid|#tag] +sheepdog[+tcp|+unix]://[host:port]/vdiname[?socket=path][#snapid|#tag] @end example Example -- cgit v1.2.1