summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-09-24 17:15:42 +0200
committerStefan Hajnoczi2020-10-23 14:42:16 +0200
commit47ba680466d83adfa8c58620d4f5855c0de1a144 (patch)
treee554615e6dc7c6537d3782b73dc7c015a43955e0 /block
parentblock/export: consolidate request structs into VuBlockReq (diff)
downloadqemu-47ba680466d83adfa8c58620d4f5855c0de1a144.tar.gz
qemu-47ba680466d83adfa8c58620d4f5855c0de1a144.tar.xz
qemu-47ba680466d83adfa8c58620d4f5855c0de1a144.zip
util/vhost-user-server: drop unused DevicePanicNotifier
The device panic notifier callback is not used. Drop it. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200924151549.913737-7-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/export/vhost-user-blk-server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/export/vhost-user-blk-server.c b/block/export/vhost-user-blk-server.c
index d227b468d8..c8fa4ecba9 100644
--- a/block/export/vhost-user-blk-server.c
+++ b/block/export/vhost-user-blk-server.c
@@ -439,8 +439,7 @@ static void vhost_user_blk_server_start(VuBlockDev *vu_block_device,
ctx = bdrv_get_aio_context(blk_bs(vu_block_device->backend));
if (!vhost_user_server_start(&vu_block_device->vu_server, addr, ctx,
- VHOST_USER_BLK_MAX_QUEUES,
- NULL, &vu_block_iface,
+ VHOST_USER_BLK_MAX_QUEUES, &vu_block_iface,
errp)) {
goto error;
}