Comment 1 for bug 1297377

Revision history for this message
Ryan Beisner (1chb1n) wrote :

The hacky workaround confirmation (sym linking qemu-img to kvm-img):

rbeisner@bcu:~$ sudo testdrive
[sudo] password for rbeisner:
INFO: version passed: False
INFO: config passed: None
INFO: Trying config in /etc/testdriverc
INFO: Using configuration in /etc/testdriverc
INFO: Trying config in /home/rbeisner/.testdriverc
INFO: Using configuration in /home/rbeisner/.testdriverc
INFO: Trying config in /home/rbeisner/.config/testdrive/testdriverc
INFO: Using KVM for virtual machine hosting...
INFO: Retrieving the Ubuntu ISO list from cache...

Welcome to Testdrive!

  1. Ubuntu Desktop (trusty-amd64)
  2. Ubuntu Desktop (trusty-i386)
  3. Ubuntu Server (trusty-amd64)
     +-cache--> [2014-03-25 02:08:50] trusty-server-amd64.iso
  4. Ubuntu Server (trusty-i386)
  5. Other (prompt for ISO URL)

Select an image to testdrive [1]: 3
INFO: Syncing the specified ISO...
      rsync://cdimage.ubuntu.com/cdimage/ubuntu-server/daily/current/trusty-server-amd64.iso

receiving incremental file list
INFO: Validating Virtualization Method....
INFO: Setting up Virtual Machine...
INFO: Creating disk image [/home/rbeisner/.cache/testdrive/img/testdrive-disk-MXKnPn.img]...
Formatting '/home/rbeisner/.cache/testdrive/img/testdrive-disk-MXKnPn.img', fmt=qcow2 size=6442450944 encryption=off cluster_size=65536 lazy_refcounts=off
INFO: Launching Virtual Machine...
INFO: Running the Virtual Machine...
        qemu-system-x86_64 -uuid 28bccc39-f725-4a0e-9f9e-e4d613b36f2b -m 2048 -smp 6 -cdrom /home/rbeisner/.cache/testdrive/iso/ubuntu_trusty-server-amd64.iso -drive file=/home/rbeisner/.cache/testdrive/img/testdrive-disk-MXKnPn.img,if=virtio,cache=writeback,index=0 -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus -enable-kvm

rbeisner@bcu:~/.cache/testdrive/img$ sudo qemu-img info testdrive-disk-MXKnPn.img
[sudo] password for rbeisner:
image: testdrive-disk-MXKnPn.img
file format: qcow2
virtual size: 6.0G (6442450944 bytes)
disk size: 1.1G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false