From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YplF2-00083f-KP for qemu-devel@nongnu.org; Tue, 05 May 2015 18:23:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YplEy-0000PJ-RU for qemu-devel@nongnu.org; Tue, 05 May 2015 18:23:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YplEy-0000PB-M6 for qemu-devel@nongnu.org; Tue, 05 May 2015 18:23:00 -0400 From: John Snow Date: Tue, 5 May 2015 18:22:53 -0400 Message-Id: <1430864578-22072-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] qtest: base64 r/w and faster memset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, John Snow , afaerber@suse.de Adds new qtest protocol commands for base64 reads and writes, as well as a proper command for memset instead of faking it via write. This improves the ahci-test performance on my machine from about 14 seconds to about ~3.5. v3: - Including a memset optimization. v2: - Resend as non-RFC. == For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch qtest_protocol https://github.com/jnsnow/qemu/tree/qtest_protocol This version is tagged qtest_protocol-v3: https://github.com/jnsnow/qemu/releases/tag/qtest_protocol-v3 == John Snow (5): qtest: allow arbitrarily long sends qtest: Add base64 encoded read/write qtest: add memset to qtest protocol qtest: precompute hex nibs libqos/ahci: Swap memread/write with bufread/write qtest.c | 147 +++++++++++++++++++++++++++++++++++++++++++++------- tests/ahci-test.c | 8 +-- tests/libqos/ahci.c | 4 +- tests/libqtest.c | 56 ++++++++++++++++---- tests/libqtest.h | 49 ++++++++++++++++++ 5 files changed, 230 insertions(+), 34 deletions(-) -- 2.1.0