~vcs-imports/qemu/git

  • Committer: aliguori
  • Date: 2009-03-28 16:11:25 UTC
  • Revision ID: git-v1:7403b14eeb4670d54497284b110ca3e3be4a99a4
Fix DMA API when handling an immediate error from block layer (Avi Kivity)

The block layer may signal an immediate error on an asynchronous request
by returning NULL.  The DMA API did not handle this correctly, returning
an AIO request which would never complete (and which would crash if
cancelled).

Fix by detecting the failure and propagating it.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6893 c046a42c-6fe2-441c-8c8c-71466251a162
Filename Latest Rev Last Changed Committer Comment Size
..
alsaaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 24.2 KB Diff Download File
audio.c 6688 15 years ago aliguori monitor: Rework API (Jan Kiszka) Refactor the mon 48.4 KB Diff Download File
audio.h 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 5 KB Diff Download File
audio_int.h 6616 16 years ago malc Avoid running audio ctl's when vm is not running 7 KB Diff Download File
audio_pt_int.c 3906 17 years ago balrog pthreads-based audio and miscellaneous audio clean 3.2 KB Diff Download File
audio_pt_int.h 3906 17 years ago balrog pthreads-based audio and miscellaneous audio clean 681 bytes Diff Download File
audio_template.h 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 13.4 KB Diff Download File
coreaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 15.3 KB Diff Download File
dsound_template.h 6400 16 years ago malc Fix NAME2/FIELD2 warnings git-svn-id: svn://svn.s 7 KB Diff Download File
dsoundaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 26.6 KB Diff Download File
esdaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 14.3 KB Diff Download File
fmodaudio.c 6109 16 years ago malc Use the ARRAY_SIZE() macro where appropriate. Cha 16.8 KB Diff Download File
mixeng.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 8.5 KB Diff Download File
mixeng.h 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 2.1 KB Diff Download File
mixeng_template.h 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 4.2 KB Diff Download File
noaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 4.4 KB Diff Download File
ossaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 20 KB Diff Download File
paaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 11.2 KB Diff Download File
rate_template.h 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 3.2 KB Diff Download File
sdlaudio.c 6722 15 years ago blueswir1 Support for DragonFly BSD (Hasso Tepper) git-svn- 10.1 KB Diff Download File
wavaudio.c 5853 16 years ago malc Make audio violate POSIX less git-svn-id: svn://s 6.8 KB Diff Download File
wavcapture.c 6688 15 years ago aliguori monitor: Rework API (Jan Kiszka) Refactor the mon 3.8 KB Diff Download File