Revision c1a88ad1 hw/xen_disk.c
b/hw/xen_disk.c | ||
---|---|---|
782 | 782 |
int pers, index, qflags; |
783 | 783 |
|
784 | 784 |
/* read-only ? */ |
785 |
qflags = BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NATIVE_AIO;
|
|
785 |
qflags = BDRV_O_CACHE_WB | BDRV_O_NATIVE_AIO; |
|
786 | 786 |
if (strcmp(blkdev->mode, "w") == 0) { |
787 | 787 |
qflags |= BDRV_O_RDWR; |
788 | 788 |
} |
Also available in: Unified diff