Hi qemu developer,
I have a question that does qume support cname as host to attach rbd device?
When I want to do that, it return a error:
/# virsh attach-device virtlet-228fa0ac-d53a-tess-node-c7nww disk_vde.yaml
error: Failed to attach device from disk_vde.yaml
error: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk20'
/# cat disk_vde.yaml
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none' io='native'/>
<auth username='cinder'>
<secret type='ceph' uuid='c5ef9206-c40a-4b04-7bd9-b76f34b0103a'/>
</auth>
<source protocol='rbd' name='volumes/volume-4d6ed922-57c1-4d1e-8eeb-1d00d4184bc0'>
<host name='lvs02cephmon01.sds.ebay.com' port='6789'/>
<host name='lvs02cephmon02.sds.ebay.com' port='6789'/>
<host name='lvs02cephmon03.sds.ebay.com' port='6789'/>
<host name='lvs02cephmon04.sds.ebay.com' port='6789'/>
<host name='lvs02cephmon05.sds.ebay.com' port='6789'/>
</source>
<target dev='vdu' bus='virtio'/>
<iotune>
<total_bytes_sec>157286400</total_bytes_sec>
<total_iops_sec>300</total_iops_sec>
</iotune>
<serial>pvc-cf38701d-6f6f-4638-96c5-5cfbe16d6068</serial>
<address type='pci' domain='0x0000' bus='0x00' slot='0x18' function='0x0'/>
</disk>
Could you tell me whether qemu supoort this? If yes, which version? IF no, do you any plan for this?
Thanks,
Tao