]> Git Repo - qemu.git/blobdiff - blockdev.c
tests: Run the iotests during "make check" again
[qemu.git] / blockdev.c
index 5d6a13dea93fc720358f380d3473d813ba5e879c..95cdd5a5cb0326dfdd331b19caf53c49a947e70d 100644 (file)
 #include "block/trace.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/qtest.h"
+#include "sysemu/runstate.h"
 #include "qemu/cutils.h"
 #include "qemu/help_option.h"
+#include "qemu/main-loop.h"
 #include "qemu/throttle-options.h"
 
 static QTAILQ_HEAD(, BlockDriverState) monitor_bdrv_states =
@@ -1774,7 +1776,7 @@ static void drive_backup_prepare(BlkActionState *common, Error **errp)
     assert(common->action->type == TRANSACTION_ACTION_KIND_DRIVE_BACKUP);
     backup = common->action->u.drive_backup.data;
 
-    bs = qmp_get_root_bs(backup->device, errp);
+    bs = bdrv_lookup_bs(backup->device, backup->device, errp);
     if (!bs) {
         return;
     }
This page took 0.023227 seconds and 4 git commands to generate.