diff options
author | MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> | 2013-02-22 12:39:51 +0900 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-04 09:54:17 +0100 |
commit | 5d6768e3b8908a60f0a3016b7fa24194f6b47c80 (patch) | |
tree | 65f1ac4dbeadffe0dca56e4fa7350b1895cb80e8 /qemu-options.hx | |
parent | bf1c852aa9cbe21beeb7c37d03e167c33ac196b2 (diff) |
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 <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 18 |
1 files changed, 4 insertions, 14 deletions
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:<vdiname>'' - -``sheepdog:<vdiname>:<snapid>'' - -``sheepdog:<vdiname>:<tag>'' - -``sheepdog:<host>:<port>:<vdiname>'' - -``sheepdog:<host>:<port>:<vdiname>:<snapid>'' - -``sheepdog:<host>:<port>:<vdiname>:<tag>'' -@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/}. |