aliguori 03ff3ca30f Use common objects for qemu-img and qemu-nbd
Right now, we sprinkle #if defined(QEMU_IMG) && defined(QEMU_NBD) all over the
code.  It's ugly and causes us to have to build multiple object files for
linking against qemu and the tools.

This patch introduces a new file, qemu-tool.c which contains enough for
qemu-img, qemu-nbd, and QEMU to all share the same objects.

This also required getting qemu-nbd to be a bit more Windows friendly.  I also
changed the Windows block-raw to use normal IO instead of overlapping IO since
we don't actually do AIO yet on Windows.  I changed the various #if 0's to
 #if WIN32_AIO to make it easier for someone to eventually fix AIO on Windows.

After this patch, there are no longer any #ifdef's related to qemu-img and
qemu-nbd.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5226 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-15 15:51:35 +00:00
2008-08-24 10:29:29 +00:00
2008-09-15 07:05:18 +00:00
2008-09-15 07:43:43 +00:00
2008-09-14 16:09:56 +00:00
2008-09-14 17:09:56 +00:00
2008-09-14 18:30:32 +00:00
2008-09-14 17:18:29 +00:00
2008-09-09 17:15:28 +00:00
2008-08-21 17:58:08 +00:00
2008-06-08 01:55:07 +00:00
2008-09-11 14:18:56 +00:00
2008-09-15 07:43:43 +00:00
2008-09-02 00:09:16 +00:00
2008-08-22 09:03:17 +00:00
2008-09-06 16:31:30 +00:00
2008-08-21 17:58:08 +00:00
2008-05-31 16:21:33 +00:00
2008-08-25 22:26:03 +00:00
2008-08-22 21:25:00 +00:00
2008-06-07 20:50:51 +00:00
2008-08-25 20:03:28 +00:00
2008-06-03 19:51:57 +00:00
2008-08-21 20:08:55 +00:00
2008-06-29 01:03:05 +00:00
2008-09-06 16:31:30 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%