| Branch: | Revision:

root / cmd.c @ a74cdab4

History | View | Annotate | Download (11.6 kB)

# Date Author Comment
7d7d975c 06/22/2010 03:38 pm MORITA Kazutaka

qemu-io: check registered fds in command_loop()

Some block drivers use an aio handler and do I/O completion routines
in it. However, the handler is not invoked if we only do
aio_read/write, because registered fds are not checked at all.

This patch registers an aio handler of STDIO to checks whether we can...

88bf7950 04/25/2010 06:27 pm Blue Swirl

Fix dead initialization, spotted by clang analyzer

Fix clang warnings:
/src/qemu/block/vvfat.c:1102:9: warning: Value stored to 'index3' during its initialization is never read
int index3=index1+1;
/src/qemu/cmd.c:290:15: warning: Value stored to 'p' during its initialization is never read...

22a2bdcb 11/21/2009 11:06 am Blue Swirl

Fix OpenBSD build of qemu-io

GCC 3.3.5 generates warnings for static forward declarations of data, so
rearrange code to use static forward declarations of functions instead.

Use <getopt.h> for optind instead of local definition.

Signed-off-by: Blue Swirl <>

50da01ed 09/19/2009 07:43 pm Stefan Weil

Fix indentation

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

c32d766a 09/09/2009 10:57 pm Stefan Weil

qemu-io: Improve portability (win32 now supported).

  • Add missing include for struct timeval.
  • Replace non-portable strsep by local qemu_strsep.
  • Use POSIX basename by including libgen.h.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

856ae5c3 04/07/2009 08:57 pm blueswir1

Fix a few Sparse warnings

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

e3aff4f6 04/05/2009 10:14 pm aliguori

Add files not included in previous commit.

Signed-off-by: Anthony Liguori <>

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162