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 via email to