On 08/03/11 23:06, Lucas Meneghel Rodrigues wrote:
From: Amos Kong<[email protected]>
This test adds a usb storage for the guest, and do some check from monitor and
inside the guest.
Changes from v1:
- use old options to add a usb disk to guest
'-usbdevice disk:format=qcow2:/tmp/usbdevice.qcow2'
- identify device name of new disk by '/dev/disk/by-path/'
- match device with the detail output of 'lsusb -v'
- create disk image by pre_cmd
Changes from v2:
- reuse the new interface to add a usb disk to guest
- report a rh-bug 727725
Changes from v3:
- Use a better string matching pattern for fdisk output
- Mount USB device, copy file to it, unmount, mount
again and then compare the md5sum of both files
Acked-by: Gerd Hoffmann <[email protected]>
cheers,
Gerd
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html