On 05/26/2015 07:26 AM, Xiaodai Wang wrote:
Hi Cole,
Great news for virt-manager 1.2.0 released. I downloaded and tried the new --disk
type=network feature in fedora 21, but it doesn't work, the err info is "ERROR
Unknown options ['type']".
I checked the suboption of --disk and can't find "type".
Could you help me to check if this feature is supported? Thanks! :)
My bad, I put invalid syntax in the release notes :)
Check tests/clitest.py for some examples:
--disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 \
--disk pool=rbd-ceph,size=.1 \
--disk
source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file
\
--disk
source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi
\
--disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 \
--disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on \
--disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo \
--disk vol=gluster-pool/test-gluster.raw,startup_policy=optional \
Those trigger most of the code paths. The pool/volume examples come from
tests/testdriver.xml
- Cole