Home
last modified time | relevance | path

Searched refs:keep_read_only (Results 1 – 2 of 2) sorted by relevance

/external/qemu/include/block/
Dblock_int.h143 int keep_read_only; /* if true, the media was requested to stay read only */ member
/external/qemu/
Dblock.c471 bs->keep_read_only = bs->read_only = !(open_flags & BDRV_O_RDWR); in bdrv_open_common()
626 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()
629 bs->backing_hd->keep_read_only = bs->keep_read_only; in bdrv_open()
764 if (bs->backing_hd->keep_read_only) { in bdrv_commit()
841 bs->backing_hd->keep_read_only = 0; in bdrv_commit()