]> git.proxmox.com Git - qemu.git/commit - block.c
block: add interface to toggle copy-on-read
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 28 Nov 2011 16:08:47 +0000 (16:08 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Dec 2011 13:51:38 +0000 (14:51 +0100)
commit53fec9d3fd3d3a4ded4b92dfa843436bf71380f1
tree7d819dc00ebd08495bcc3b6649e4bbd7d1536a39
parentdbffbdcfff69431b622866ac5ea78df74fdc02d4
block: add interface to toggle copy-on-read

The bdrv_enable_copy_on_read()/bdrv_disable_copy_on_read() functions can
be used to programmatically enable or disable copy-on-read for a block
device.  Later patches add the actual copy-on-read logic.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
block_int.h