summary refs log tree commit diff stats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2016-06-16 19:09:41 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-20 11:44:12 +0100
commitec050f77a549b300ee444634bccd9ec05d134c4d (patch)
treeae2e1972507a2adad7439956704c0abd788f5ade /hw/timer/lm32_timer.c
parent968d8b0627d3585d6b82da4239b9adf98614ab7c (diff)
downloadfocaccia-qemu-ec050f77a549b300ee444634bccd9ec05d134c4d.tar.gz
focaccia-qemu-ec050f77a549b300ee444634bccd9ec05d134c4d.zip
block: process before_write_notifiers in bdrv_co_discard
This is mandatory for correct backup creation. In the other case the
content under this area would be lost.

Dirty bits are set exactly like in bdrv_aligned_pwritev, i.e. they are set
even if notifier has returned a error.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy<vsementsov@virtuozzo.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1466093381-6120-4-git-send-email-den@openvz.org
CC: Fam Zheng <famz@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions