qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6990] qemu-io - an I/O path exerciser (Christoph Hellwig)
@ 2009-04-05 18:41 Anthony Liguori
  2009-04-05 19:17 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Liguori @ 2009-04-05 18:41 UTC (permalink / raw)
  To: qemu-devel

Revision: 6990
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6990
Author:   aliguori
Date:     2009-04-05 18:41:23 +0000 (Sun, 05 Apr 2009)
Log Message:
-----------
qemu-io - an I/O path exerciser (Christoph Hellwig)

This patch adds a new qemu-io tool that links against the block layer and
image formats and allow to exercise them without needing a guest image.
It is inspired by the xfs_io tool which does the same for plain file I/O.
In fact the libxcmd library which is the backend of xfs_io is reused by this
tool in a limited fashing (cmd.[ch] files).

This version tests out most of the plain block I/O commands with the
most notable absent commands beeing snapshot handling and real aio.

This tool is the basis of the I/O path test suite I'm working on right now.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Modified Paths:
--------------
    trunk/Makefile
    trunk/configure

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-04-05 18:41:18 UTC (rev 6989)
+++ trunk/Makefile	2009-04-05 18:41:23 UTC (rev 6990)
@@ -206,8 +206,10 @@
 
 qemu-nbd$(EXESUF):  qemu-nbd.o qemu-tool.o osdep.o $(BLOCK_OBJS)
 
-qemu-img$(EXESUF) qemu-nbd$(EXESUF): LIBS += -lz
+qemu-io$(EXESUF):  qemu-io.o qemu-tool.o osdep.o cmd.o $(BLOCK_OBJS)
 
+qemu-img$(EXESUF) qemu-nbd$(EXESUF) qemu-io$(EXESUF): LIBS += -lz
+
 clean:
 # avoid old build problems by removing potentially incorrect old files
 	rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h

Modified: trunk/configure
===================================================================
--- trunk/configure	2009-04-05 18:41:18 UTC (rev 6989)
+++ trunk/configure	2009-04-05 18:41:23 UTC (rev 6990)
@@ -1551,7 +1551,7 @@
 
 tools=
 if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
-  tools="qemu-img\$(EXESUF) $tools"
+  tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
   if [ "$linux" = "yes" ] ; then
       tools="qemu-nbd\$(EXESUF) $tools"
   fi

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

* Re: [Qemu-devel] [6990] qemu-io - an I/O path exerciser (Christoph Hellwig)
  2009-04-05 18:41 [Qemu-devel] [6990] qemu-io - an I/O path exerciser (Christoph Hellwig) Anthony Liguori
@ 2009-04-05 19:17 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2009-04-05 19:17 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori

On 4/5/09, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Revision: 6990
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6990
>  Author:   aliguori
>  Date:     2009-04-05 18:41:23 +0000 (Sun, 05 Apr 2009)
>  Log Message:
>  -----------
>  qemu-io - an I/O path exerciser (Christoph Hellwig)

>  Modified Paths:
>  --------------
>     trunk/Makefile
>     trunk/configure

Forgot something?

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

end of thread, other threads:[~2009-04-05 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-05 18:41 [Qemu-devel] [6990] qemu-io - an I/O path exerciser (Christoph Hellwig) Anthony Liguori
2009-04-05 19:17 ` Blue Swirl

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