Hi, Look under examples: http://builder.virt-tools.org/artifacts/libvirt-virshcmdref/html/sect-attach-disk.html (root at 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 at h2)-(/)# virsh --version 0.7.5 Is someone playing a trick on me? Regards, Daniele -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130409/2fa7aa0a/attachment.htm>
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-disk.html > > (root at 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 at 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)
Maybe Matching Threads
- How to device port on the controller
- 2 Problems with attaching/detaching disks with virsh and KVM
- Hotplug/hotadd functionality of libvirt?
- Re: Using virsh blockcopy -- what's it supposed to accomplish?
- Re: Using virsh blockcopy -- what's it supposed to accomplish?