From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri0OM-0001q6-7q for qemu-devel@nongnu.org; Tue, 03 Jan 2012 04:10:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri0OL-0007Ds-FR for qemu-devel@nongnu.org; Tue, 03 Jan 2012 04:10:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri0OL-0007Do-7c for qemu-devel@nongnu.org; Tue, 03 Jan 2012 04:10:45 -0500 Message-ID: <4F02C606.7050504@redhat.com> Date: Tue, 03 Jan 2012 10:10:30 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4EFB2764.7040006@codemonkey.ws> <4EFB2F36.2090408@redhat.com> <4EFB35AB.6040003@redhat.com> <4EFB4757.4020504@codemonkey.ws> <4EFB5138.5020502@redhat.com> <4EFC916E.4070902@codemonkey.ws> <4EFC9706.4090500@redhat.com> <4EFCB274.5020102@codemonkey.ws> <4F01BA0C.2070305@redhat.com> <20120103081936.GC28636@stefanha-thinkpad.localdomain> In-Reply-To: <20120103081936.GC28636@stefanha-thinkpad.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: "lmr@redhat.com" , Peter Maydell , Stefan Hajnoczi , cleber@redhat.com, dlaor@redhat.com, qemu-devel , Avi Kivity , Cleber Rosa , Gerd Hoffmann On 01/03/2012 09:19 AM, Stefan Hajnoczi wrote: > I haven't started yet but I am planning to write qtest virtio PCI tests > and will definitely be taking a look at virtio-scsi. > > We don't necessarily need mock devices, just really simply temporary raw > files or similar. On the other hand mock devices can be a good solution > for programmatically verifying that our intended action was performed on > the host device. Mocks, no matter whether they're mock SCSI devices or mock block devices, are needed if you want to test TMFs. Cancellation was sorta broken by the coroutine conversion, but I think it can be fixed. Paolo