projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86698a1
)
ide: replace blk_drain_all by blk_drain
author
John Snow
<jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:39 +0000
(13:29 -0500)
committer
John Snow
<jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:39 +0000
(13:29 -0500)
Target the drain for just one device.
Signed-off-by: John Snow <jsnow@redhat.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id:
1453225191
-11871-5-git-send-email-jsnow@redhat.com
hw/ide/core.c
patch
|
blob
|
history
diff --git
a/hw/ide/core.c
b/hw/ide/core.c
index 5cafcf5287604f6f44ba6a0a42689e4633998953..40b6cc8c62e45e215e91a3ed6d192d74698b2b83 100644
(file)
--- a/
hw/ide/core.c
+++ b/
hw/ide/core.c
@@
-649,7
+649,7
@@
void ide_cancel_dma_sync(IDEState *s)
#ifdef DEBUG_IDE
printf("%s: draining all remaining requests", __func__);
#endif
- blk_drain
_all(
);
+ blk_drain
(s->blk
);
assert(s->bus->dma->aiocb == NULL);
}
}