]> git.proxmox.com Git - qemu.git/blobdiff - hw/xen_disk.c
Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and...
[qemu.git] / hw / xen_disk.c
index 5c552513205b394a03829613298148a632862d4f..beadf90a6bf75021d2449b9a2ed4f428eff74673 100644 (file)
@@ -613,7 +613,7 @@ static int blk_init(struct XenDevice *xendev)
        qflags = BDRV_O_RDWR;
     } else {
        mode   = O_RDONLY;
-       qflags = BDRV_O_RDONLY;
+       qflags = 0;
        info  |= VDISK_READONLY;
     }