libvirt/tools
Ryan Harper 12a41822e1 virsh: remove driver check from attach-disk command
Virsh shouldn't check for driver support but rather let the backend handled this.
After removing the check, I can successfully attach file-based images to a qemu
VM with attach-disk.

% virsh attach-disk vm2 /images/test02.img vdc --driver qemu --type disk --subdriver raw
Disk attached successfully

This command generates the following XML:

<disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/images/test02.img'/>
      <target dev='vdc' bus='virtio'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</disk>

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2010-08-31 16:06:16 -06:00
..
.gitignore maint: track moved file 2010-08-31 10:00:31 -06:00
console.c build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
console.h build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt-guests.init.in Move libvirt-guests init script and config to tools 2010-08-25 14:07:26 +02:00
libvirt-guests.sysconf Move libvirt-guests init script and config to tools 2010-08-25 14:07:26 +02:00
Makefile.am Move libvirt-guests init script and config to tools 2010-08-25 14:07:26 +02:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh.c virsh: remove driver check from attach-disk command 2010-08-31 16:06:16 -06:00
virsh.pod man pages: update authors and copyright notice for libvirtd and virsh 2010-07-17 04:51:01 +10:00
virt-pki-validate.in Fix virt-pki-validate's determination of CN 2010-04-29 20:10:46 -06:00
virt-xml-validate.in build: import latest gnulib 2010-04-02 10:18:55 -06:00