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

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

 



On 05/22/2013 09:58 AM, Cole Robinson wrote:
> 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.
>

In the meantime I'm pretty sure that you can achieve the same effect by
creating a text file with the correct <disk> xml and using virsh
attach-device instead. (qualifier added only because I haven't
personally done it myself)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]