summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-05-06 12:06:14 +0300
committerMax Reitz <mreitz@redhat.com>2021-05-14 16:14:10 +0200
commit94783301b8cb3f2b4fd871badd923fb3b9d2e7bf (patch)
tree04549f1d015e196cbefeb104ede1daf1c8ca360a /hw/net/virtio-net.c
parentac4e14f5dc93d6b4bc5d4849bb61810023330380 (diff)
downloadfocaccia-qemu-94783301b8cb3f2b4fd871badd923fb3b9d2e7bf.tar.gz
focaccia-qemu-94783301b8cb3f2b4fd871badd923fb3b9d2e7bf.zip
block/write-threshold: don't use write notifiers
write-notifiers are used only for write-threshold. New code for such
purpose should create filters.

Let's better special-case write-threshold and drop write notifiers at
all. (Actually, write-threshold is special-cased anyway, as the only
user of write-notifiers)

So, create a new direct interface for bdrv_co_write_req_prepare() and
drop all write-notifier related logic from write-threshold.c.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210506090621.11848-2-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[mreitz: Adjusted comment as per Eric's suggestion]
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions