+ ./virsh attach-disk error: command 'attach-disk' requires option error: command 'attach-disk' requires option error: command 'attach-disk' requires option + ./virsh attach-disk --print-xml --domain testdom --source '' error: command 'attach-disk' requires option + ./virsh attach-disk --print-xml --domain testdom --source '' --sourcetype file error: command 'attach-disk' requires option + ./virsh attach-disk --print-xml --domain testdom --source '' --sourcetype blah error: command 'attach-disk' requires option + attach_disk --target hda + ./virsh attach-disk --print-xml --domain testdom --target hda --source /nonexistent/file + attach_disk --target hda --sourcetype file + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --source /nonexistent/file + attach_disk --target hda --sourcetype block + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype block --source /nonexistent/file + attach_disk --target hda --sourcetype nothing + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype nothing --source /nonexistent/file error: Unknown source type: 'nothing' + attach_disk --target hda --sourcetype file --type disk + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --source /nonexistent/file + attach_disk --target hda --sourcetype block --type disk + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype block --type disk --source /nonexistent/file + attach_disk --target hda --sourcetype file --type cdrom + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type cdrom --source /nonexistent/file + attach_disk --target hda --sourcetype block --type cdrom + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype block --type cdrom --source /nonexistent/file + attach_disk --target hda --sourcetype file --type blah + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type blah --source /nonexistent/file + attach_disk --target hda --sourcetype block --type blah + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype block --type blah --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --driver testdriver + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --driver testdriver --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --subdriver qcow2 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver qcow2 --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --subdriver raw + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver raw --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --cache none + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --cache none --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --subdriver qcow2 --cache none + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver qcow2 --cache none --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --subdriver qcow2 --serial TEST_SERIAL + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver qcow2 --serial TEST_SERIAL --source /nonexistent/file TEST_SERIAL + attach_disk --target hda --sourcetype file --type disk --mode readonly + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --mode readonly --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --mode shareable + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --mode shareable --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --mode whatever + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --mode whatever --source /nonexistent/file error: No support for whatever in command 'attach-disk' + attach_disk --target hda --sourcetype file --type disk --subdriver qcow2 --alias testalias + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver qcow2 --alias testalias --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --rawio + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --rawio --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --multifunction + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --multifunction --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --subdriver qcow2 --alias testalias --iothread 3 --mode readonly --cache none --driver qemu + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --subdriver qcow2 --alias testalias --iothread 3 --mode readonly --cache none --driver qemu --source /nonexistent/file + attach_disk --target hda --sourcetype file --type disk --address ide:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address ide:1.2.3 --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address ide:1.2.4 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address ide:1.2.4 --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address ide:1:2:5 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address ide:1:2:5 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address ide:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address ide:1.2.3 --source /nonexistent/file error: expecting a scsi:00.00.00 or usb:00.00 or sata:00.00.00 address. + attach_disk --target vda --sourcetype file --type disk --address ide:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address ide:1.2.3 --source /nonexistent/file error: expecting a pci:0000.00.00.00 or ccw:00.0.0000 address. + attach_disk --target sda --sourcetype file --type disk --address usb:12.34 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address usb:12.34 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address usb:12.3 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address usb:12.3 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address usb:12:34 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address usb:12:34 --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address usb:12.34 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address usb:12.34 --source /nonexistent/file error: expecting a pci:0000.00.00.00 or ccw:00.0.0000 address. + attach_disk --target hda --sourcetype file --type disk --address usb:12.34 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address usb:12.34 --source /nonexistent/file error: expecting an ide:00.00.00 address. + attach_disk --target sda --sourcetype file --type disk --address scsi:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address scsi:1.2.3 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address scsi:1.2.4 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address scsi:1.2.4 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address scsi:1:2:5 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address scsi:1:2:5 --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address scsi:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address scsi:1.2.3 --source /nonexistent/file error: expecting an ide:00.00.00 address. + attach_disk --target vda --sourcetype file --type disk --address scsi:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address scsi:1.2.3 --source /nonexistent/file error: expecting a pci:0000.00.00.00 or ccw:00.0.0000 address. + attach_disk --target sda --sourcetype file --type disk --address sata:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address sata:1.2.3 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address sata:1.2.4 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address sata:1.2.4 --source /nonexistent/file
+ attach_disk --target sda --sourcetype file --type disk --address sata:1:2:5 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address sata:1:2:5 --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address sata:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address sata:1.2.3 --source /nonexistent/file error: expecting an ide:00.00.00 address. + attach_disk --target vda --sourcetype file --type disk --address sata:1.2.3 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address sata:1.2.3 --source /nonexistent/file error: expecting a pci:0000.00.00.00 or ccw:00.0.0000 address. + attach_disk --target vda --sourcetype file --type disk --address pci:12.34.56.78 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12.34.56.78 --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address pci:12:34:56:78 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12:34:56:78 --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address pci:12.34.56.aa + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12.34.56.aa --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address pci:12.34.56.aa + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address pci:12.34.56.aa --source /nonexistent/file error: expecting an ide:00.00.00 address. + attach_disk --target sda --sourcetype file --type disk --address pci:12.34.56.aa + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address pci:12.34.56.aa --source /nonexistent/file error: expecting a scsi:00.00.00 or usb:00.00 or sata:00.00.00 address. + attach_disk --target vda --sourcetype file --type disk --address pci:12.34.56.78 --multifunction + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12.34.56.78 --multifunction --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address pci:12:34:56:78 --multifunction + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12:34:56:78 --multifunction --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address pci:12.34.56.aa --multifunction + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address pci:12.34.56.aa --multifunction --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address ccw:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address ccw:12.34.56 --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address ccw:12:34:56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address ccw:12:34:56 --source /nonexistent/file
+ attach_disk --target vda --sourcetype file --type disk --address ccw:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address ccw:12.34.56 --source /nonexistent/file
+ attach_disk --target hda --sourcetype file --type disk --address ccw:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype file --type disk --address ccw:12.34.56 --source /nonexistent/file error: expecting an ide:00.00.00 address. + attach_disk --target sda --sourcetype file --type disk --address ccw:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target sda --sourcetype file --type disk --address ccw:12.34.56 --source /nonexistent/file error: expecting a scsi:00.00.00 or usb:00.00 or sata:00.00.00 address. + attach_disk --target vda --sourcetype file --type disk --address test:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address test:12.34.56 --source /nonexistent/file error: Invalid address. + attach_disk --target vda --sourcetype file --type disk --address test:12:34:56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address test:12:34:56 --source /nonexistent/file error: Invalid address. + attach_disk --target vda --sourcetype file --type disk --address test:12.34.56 + ./virsh attach-disk --print-xml --domain testdom --target vda --sourcetype file --type disk --address test:12.34.56 --source /nonexistent/file error: Invalid address. + ./virsh attach-disk --print-xml --domain testdom --source '' --source-protocol AAA error: command 'attach-disk' requires option + ./virsh attach-disk --print-xml --domain testdom --source '' --source-protocol AAA error: command 'attach-disk' requires option + attach_disk --target hda --source-protocol AAA --sourcetype file + ./virsh attach-disk --print-xml --domain testdom --target hda --source-protocol AAA --sourcetype file --source /nonexistent/file error: --source-protocol option requires --sourcetype network + attach_disk --target hda --sourcetype network + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source /nonexistent/file error: --source-protocol option requires --sourcetype network + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name hostname + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name hostname --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name hostname:port + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name hostname:port --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name hostname: + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name hostname: --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name :port + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name :port --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name : + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name : --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-name hostname:port --source-host-transport trnsp + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-name hostname:port --source-host-transport trnsp --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-transport trnsp + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-transport trnsp --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-transport trnsp --source-host-socket /nonexistent/socket + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-transport trnsp --source-host-socket /nonexistent/socket --source /nonexistent/file + attach_disk --target hda --sourcetype network --source-protocol TEST --source-host-socket /nonexistent/socket + ./virsh attach-disk --print-xml --domain testdom --target hda --sourcetype network --source-protocol TEST --source-host-socket /nonexistent/socket --source /nonexistent/file error: Option --source-host-transport is required by option --source-host-socket end