]> Git Repo - qemu.git/blobdiff - block.c
add a boot parameter to set reboot timeout
[qemu.git] / block.c
diff --git a/block.c b/block.c
index 84544d23bbbc52d7357b0cec9db022b932f8b7a5..751ebdc06b119bf43ac3cdd0a986e5b69e637bd1 100644 (file)
--- a/block.c
+++ b/block.c
@@ -812,8 +812,6 @@ int bdrv_open(BlockDriverState *bs, const char *filename, int flags,
         flags |= BDRV_O_ALLOW_RDWR;
     }
 
-    bs->keep_read_only = !(flags & BDRV_O_ALLOW_RDWR);
-
     /* Open the image */
     ret = bdrv_open_common(bs, filename, flags, drv);
     if (ret < 0) {
This page took 0.019665 seconds and 4 git commands to generate.