]> Git Repo - qemu.git/blobdiff - block/write-threshold.c
vhdx: Fix "log that needs to be replayed" error message
[qemu.git] / block / write-threshold.c
index c2cd51771614cbe37f78c3595c6cb9928935a969..0fe38917c58e1793ea77acfaee44fb08edf35a5d 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include "block/block_int.h"
-#include "block/coroutine.h"
+#include "qemu/coroutine.h"
 #include "block/write-threshold.h"
 #include "qemu/notify.h"
 #include "qapi-event.h"
@@ -112,7 +112,7 @@ void qmp_block_set_write_threshold(const char *node_name,
 
     bs = bdrv_find_node(node_name);
     if (!bs) {
-        error_set(errp, QERR_DEVICE_NOT_FOUND, node_name);
+        error_setg(errp, "Device '%s' not found", node_name);
         return;
     }
 
This page took 0.024718 seconds and 4 git commands to generate.