]> Git Repo - qemu.git/blobdiff - cpus.c
ivshmem: Add missing newlines to debug printfs
[qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index 4052be525f79754c2097e328baf0e20ae4b5f3e5..23cf7aad7682abefaee443e698a540d20ec184a2 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -29,6 +29,7 @@
 #include "qapi/qmp/qerror.h"
 #include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
+#include "sysemu/block-backend.h"
 #include "exec/gdbstub.h"
 #include "sysemu/dma.h"
 #include "sysemu/kvm.h"
@@ -734,7 +735,7 @@ static int do_vm_stop(RunState state)
     }
 
     bdrv_drain_all();
-    ret = bdrv_flush_all();
+    ret = blk_flush_all();
 
     return ret;
 }
@@ -1433,7 +1434,7 @@ int vm_stop_force_state(RunState state)
         bdrv_drain_all();
         /* Make sure to return an error if the flush in a previous vm_stop()
          * failed. */
-        return bdrv_flush_all();
+        return blk_flush_all();
     }
 }
 
This page took 0.022152 seconds and 4 git commands to generate.