summary refs log tree commit diff stats
path: root/hw/lm32/lm32_boards.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-06-24 17:13:10 +0200
committerKevin Wolf <kwolf@redhat.com>2013-06-28 09:20:26 +0200
commitd616b224745b2c522f965cf8de7da17b553b959a (patch)
treedf5c6f5b8e13823d4c202782eec90c93b55997a6 /hw/lm32/lm32_boards.c
parent5dae8e5fb803f53fadc116cefe353953b938cbe1 (diff)
downloadfocaccia-qemu-d616b224745b2c522f965cf8de7da17b553b959a.tar.gz
focaccia-qemu-d616b224745b2c522f965cf8de7da17b553b959a.zip
block: add bdrv_add_before_write_notifier()
The bdrv_add_before_write_notifier() function installs a callback that
is invoked before a write request is processed.  This will be used to
implement copy-on-write point-in-time snapshots where we need to copy
out old data before overwriting it.

Note that BdrvTrackedRequest is moved to block_int.h since it is passed
to .notify() functions.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions