]> git.proxmox.com Git - qemu.git/blobdiff - block/stream.c
Merge remote-tracking branch 'luiz/queue/qmp' into staging
[qemu.git] / block / stream.c
index 0c0fc7a13b2254eb12f820b948b726ed0189bd73..d6df06f35a1157a399ced8dc03a3ef319f19979f 100644 (file)
@@ -12,8 +12,8 @@
  */
 
 #include "trace.h"
-#include "block_int.h"
-#include "blockjob.h"
+#include "block/block_int.h"
+#include "block/blockjob.h"
 #include "qemu/ratelimit.h"
 
 enum {
@@ -108,7 +108,7 @@ static void coroutine_fn stream_run(void *opaque)
 
 wait:
         /* Note that even when no rate limit is applied we need to yield
-         * with no pending I/O here so that qemu_aio_flush() returns.
+         * with no pending I/O here so that bdrv_drain_all() returns.
          */
         block_job_sleep_ns(&s->common, rt_clock, delay_ns);
         if (block_job_is_cancelled(&s->common)) {