]> Git Repo - qemu.git/blobdiff - qemu-io.c
spapr: Abolish DRC set_configured method
[qemu.git] / qemu-io.c
index 34fa8a10a43204b6ad14696bf036a8dd32a79dca..8e38b288b7bbcbd3c5ae8326d587204a3b039ba3 100644 (file)
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -76,7 +76,7 @@ static int openfile(char *name, int flags, bool writethrough, bool force_share,
             QDECREF(opts);
             return 1;
         }
-        qdict_put(opts, BDRV_OPT_FORCE_SHARE, qbool_from_bool(true));
+        qdict_put_bool(opts, BDRV_OPT_FORCE_SHARE, true);
     }
     qemuio_blk = blk_new_open(name, NULL, opts, flags, &local_err);
     if (!qemuio_blk) {
This page took 0.023846 seconds and 4 git commands to generate.