diff options
Diffstat (limited to 'hw/xen_disk.c')
-rw-r--r-- | hw/xen_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_disk.c b/hw/xen_disk.c index 5c55251320..beadf90a6b 100644 --- a/hw/xen_disk.c +++ b/hw/xen_disk.c @@ -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; } |