Revision 058fc8c7 block/vvfat.c

b/block/vvfat.c
2792 2792
    if (bdrv_create(bdrv_qcow, s->qcow_filename, options) < 0)
2793 2793
	return -1;
2794 2794
    s->qcow = bdrv_new("");
2795
    if (s->qcow == NULL || bdrv_open(s->qcow, s->qcow_filename, 0) < 0)
2795
    if (s->qcow == NULL || bdrv_open(s->qcow, s->qcow_filename, BDRV_O_RDWR) < 0)
2796 2796
	return -1;
2797 2797

  
2798 2798
#ifndef _WIN32

Also available in: Unified diff