[virt-tools-list] Q on virsh attach-disk , why no network disk ?

Cole Robinson crobinso at redhat.com
Wed May 22 13:58:58 UTC 2013


On 05/22/2013 08:55 AM, Deepak C Shetty wrote:
> Hi All,
>     I was looking at virsh attach-disk and i see the below
> [snip]
> 
>   DESCRIPTION
>     Attach new disk device.
> 
>   OPTIONS
>     [--domain] <string>  domain name, id or uuid
>     [--source] <string>  source of disk device
>     [--target] <string>  target of disk device
> ...
> ...
>  
>     *--sourcetype <string>  type of source (block|file)*
> [/snip]
> 
> I was wondering why the sourcetype only support block|file only ? What if i
> wanted to add a network (disk type=network) based drive ? Is this a constraint
> of virsh or QEMU itself doesn't allow hotplu of network block device disk ?
> 

virsh questions go to libvirt-list, CC'd.

It's just a missing feature, not a deliberate omission. Patches welcome.

- Cole




More information about the virt-tools-list mailing list