qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/3] qtest: base64 r/w and faster memset
@ 2015-02-25 16:34 John Snow
  2015-02-25 16:34 ` [Qemu-devel] [RFC 1/3] qtest: allow arbitrarily long sends John Snow
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Snow @ 2015-02-25 16:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: marc.mari.barcelo, pbonzini, John Snow, afaerber, stefanha

Adds new qtest protocol commands for base64 reads and writes,
as well as a proper command for memset instead of faking it
via write.

RFC: Should base64 be the default, and hex nibbles be the opt-in?
Base64 hampers the debugability of smaller reads/writes for which
base64 won't provide much line speed improvement.

On the other hand, the more efficient encoding could benefit
any tests that send more than a couple of bytes of data at a time.

John Snow (3):
  qtest: allow arbitrarily long sends
  qtest: Add base64 encoded read/write
  qtest: add memset to qtest protocol

 qtest.c          | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 tests/libqtest.c | 39 ++++++++++++++++++-----
 tests/libqtest.h | 49 +++++++++++++++++++++++++++++
 3 files changed, 173 insertions(+), 9 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-25 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 16:34 [Qemu-devel] [RFC 0/3] qtest: base64 r/w and faster memset John Snow
2015-02-25 16:34 ` [Qemu-devel] [RFC 1/3] qtest: allow arbitrarily long sends John Snow
2015-02-25 16:34 ` [Qemu-devel] [RFC 2/3] qtest: Add base64 encoded read/write John Snow
2015-02-25 16:34 ` [Qemu-devel] [RFC 3/3] qtest: add memset to qtest protocol John Snow

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