diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-09-24 16:15:42 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-23 13:42:16 +0100 |
commit | 47ba680466d83adfa8c58620d4f5855c0de1a144 (patch) | |
tree | e554615e6dc7c6537d3782b73dc7c015a43955e0 /block/export/vhost-user-blk-server.c | |
parent | df6af7ce77447be89e0d054dc06fb496ec4e69b4 (diff) |
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/export/vhost-user-blk-server.c')
-rw-r--r-- | block/export/vhost-user-blk-server.c | 3 |
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; } |