qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: marc.mari.barcelo@gmail.com, pbonzini@redhat.com,
	John Snow <jsnow@redhat.com>,
	afaerber@suse.de, stefanha@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/4] qtest: base64 r/w and faster memset
Date: Fri,  1 May 2015 15:55:08 -0400	[thread overview]
Message-ID: <1430510112-30474-1-git-send-email-jsnow@redhat.com> (raw)

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 4.

==
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-v2:
https://github.com/jnsnow/qemu/releases/tag/qtest_protocol-v2
==

John Snow (4):
  qtest: allow arbitrarily long sends
  qtest: Add base64 encoded read/write
  qtest: add memset to qtest protocol
  libqos/ahci: Swap memread/write with bufread/write

 qtest.c             | 129 ++++++++++++++++++++++++++++++++++++++++++++++------
 tests/ahci-test.c   |   8 ++--
 tests/libqos/ahci.c |   4 +-
 tests/libqtest.c    |  39 +++++++++++++---
 tests/libqtest.h    |  49 ++++++++++++++++++++
 5 files changed, 201 insertions(+), 28 deletions(-)

-- 
2.1.0

             reply	other threads:[~2015-05-01 19:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01 19:55 John Snow [this message]
2015-05-01 19:55 ` [Qemu-devel] [PATCH v2 1/4] qtest: allow arbitrarily long sends John Snow
2015-05-01 19:55 ` [Qemu-devel] [PATCH v2 2/4] qtest: Add base64 encoded read/write John Snow
2015-05-01 19:55 ` [Qemu-devel] [PATCH v2 3/4] qtest: add memset to qtest protocol John Snow
2015-05-01 19:55 ` [Qemu-devel] [PATCH v2 4/4] libqos/ahci: Swap memread/write with bufread/write John Snow
2015-05-01 20:48   ` Paolo Bonzini
2015-05-01 21:04     ` John Snow
2015-05-02  0:13     ` John Snow
2015-05-05 10:35       ` Paolo Bonzini
2015-05-05 15:48         ` John Snow
2015-05-05 16:19           ` Paolo Bonzini
2015-05-05 16:26             ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430510112-30474-1-git-send-email-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=afaerber@suse.de \
    --cc=marc.mari.barcelo@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).