From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH] KVM-test: Add subtest: usb v4 Date: Fri, 05 Aug 2011 12:39:29 +0200 Message-ID: <4E3BC861.90509@redhat.com> References: <1312405565-32444-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org, Amos Kong To: Lucas Meneghel Rodrigues Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12061 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407Ab1HEKjd (ORCPT ); Fri, 5 Aug 2011 06:39:33 -0400 In-Reply-To: <1312405565-32444-1-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/03/11 23:06, Lucas Meneghel Rodrigues wrote: > From: Amos Kong > > 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 cheers, Gerd