]> Git Repo - qemu.git/commitdiff
block: remove BLOCK_OPT_NOCOW from vdi_create_opts
authorJeff Cody <[email protected]>
Wed, 3 Dec 2014 15:30:07 +0000 (10:30 -0500)
committerKevin Wolf <[email protected]>
Wed, 10 Dec 2014 09:31:20 +0000 (10:31 +0100)
In commit 7074786, the need for NOCOW was removed from the vdi driver,
as we removed the the posix calls.  However, the BLOCK_OPT_NOCOW was not
removed from vdi_create_opts.  This was a mistake - remove the opt from
there as well.

Signed-off-by: Jeff Cody <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Weil <[email protected]>
Message-id: e189364de11929d8fa04722f5d845de0a9834d44.1417620301[email protected]
Signed-off-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/vdi.c

index 39070b75e8cb9fc2ec10a3cfbe47f66df0bf61ce..74030c6e30e6430c543e9deff7394dc4d60f61da 100644 (file)
@@ -852,11 +852,6 @@ static QemuOptsList vdi_create_opts = {
             .def_value_str = "off"
         },
 #endif
-        {
-            .name = BLOCK_OPT_NOCOW,
-            .type = QEMU_OPT_BOOL,
-            .help = "Turn off copy-on-write (valid only on btrfs)"
-        },
         /* TODO: An additional option to set UUID values might be useful. */
         { /* end of list */ }
     }
This page took 0.027978 seconds and 4 git commands to generate.