
9 Apr
2013
9 Apr
'13
4:31 p.m.
On 04/09/2013 09:48 AM, Daniele Testa wrote:
Hi,
Look under examples: http://builder.virt-tools.org/artifacts/libvirt-virshcmdref/html/sect-attach...
(root@h2)-(/)# virsh attach-disk vps_99 /dev/nbd2 vdb --address pci:0000.00.11.0 --persistent *error: command 'attach-disk' doesn't support option --address*
(root@h2)-(/)# virsh --version 0.7.5
Is someone playing a trick on me?
I haven't looked into the history of the "--address" option for virsh attach-disk, but 0.7.5 is *very* old, so it's completely possible that it doesn't support that option. Can you upgrade to something more modern? (libvirt is now at 1.0.4, and most distros are using at least 0.9.something or 0.10.something)