From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MO5J1-00008r-P1 for qemu-devel@nongnu.org; Tue, 07 Jul 2009 03:41:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MO5Ix-00007O-0V for qemu-devel@nongnu.org; Tue, 07 Jul 2009 03:41:35 -0400 Received: from [199.232.76.173] (port=44473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MO5Iw-00007K-RD for qemu-devel@nongnu.org; Tue, 07 Jul 2009 03:41:30 -0400 Received: from mx20.gnu.org ([199.232.41.8]:54800) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MO5Iw-0003OH-D2 for qemu-devel@nongnu.org; Tue, 07 Jul 2009 03:41:30 -0400 Received: from mx2.redhat.com ([66.187.237.31]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MO5Iv-0006Bk-Ek for qemu-devel@nongnu.org; Tue, 07 Jul 2009 03:41:29 -0400 Message-ID: <4A52FBE1.70302@redhat.com> Date: Tue, 07 Jul 2009 09:40:17 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: Test L1 table growth References: <1246888767-29072-1-git-send-email-kwolf@redhat.com> <20090706185448.GA6800@lst.de> In-Reply-To: <20090706185448.GA6800@lst.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: qemu-devel@nongnu.org Christoph Hellwig schrieb: > On Mon, Jul 06, 2009 at 03:59:27PM +0200, Kevin Wolf wrote: >> Signed-off-by: Kevin Wolf >> --- >> I don't really like about this one that it contains the monitor echo of our >> commands from stdin. It contains lots of control characters and who knows if >> the monitor won't change to do a more reasonable echo some time... However, we >> need the monitor output to see if an error occured during savevm or loadvm. So, >> I'm open for suggestions, but in case nobody has a better option, let's do it >> this way. > > It does fail for me because I get different escape sequences.. > > I suspect we'll just have to wait until Luiz' gets a proper > machine-readable protocol for the monitor in and then use that one. And > pray that we'll stick with the text protocol instead of some rpc > crap.. Ok, so using qemu in our tests is basically impossible because we can't get any status messages. Bad news. For this one we can handle it differently: I'll implement bdrv_get/put_buffer in qemu-io, this should be more or less the same to the image format drivers. We even get more control over the data written, so I guess this is the better approach anyway. Kevin