From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from AM0PR02CU008.outbound.protection.outlook.com (mail-westeuropeazon11023102.outbound.protection.outlook.com [52.101.72.102]) by lore.virtuozzo.com (Postfix) with ESMTPS id 3718180033 for ; Tue, 1 Dec 2026 09:18:36 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U+iB/LJds0OIL+bzOTQM+QuDkU/US0Ci21nkNMDo/0OZSpGjAgmuBqIHAqk072/1bZHNOtx/Ea7KGAuvK7XPSqUqLXYOQWLL1f/2jeG/ODpfRbDFagkp6Y8GGW42s/XkkIt0h+E6mNilkH+tUZ1mSIGxKBhZdOlKYwXdaBndJX0XovSaGARaG3w89+osY/FfTDpCaeyqC6XeYjIqCjKozRZUzz1svyN85fUiItbXbxNkvIuR6FZ1C+JxjyfY8XvdNxTG98MGLXVxX0lcy+bjr6h/Hd4MR7T+qzx978djCcnH7ycS7rT7FPdsH7wi72TDLcf2/cVZJq+nHM2ZsZa1ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eoZsAUAVX2lEoA5F9xHEs+N7KidaX1eJcuw3emfiAiE=; b=AzKE+8cQzvQB9/4/livznmTikrZfHz3l0nN1Z9CUx4RDWlfMlmIcORdA8qpkaTNwd2E0dS+1MQMDgOpz2Ypqhcq0GtaeBkpTiXbZe8mGpeI1Hta5o22vsg155ESfTXgG+IHJDjTUtISoS7u6NkdNVoF0Vgy8S7ijtTq3/1lWUC7zxn8CA5Bz1N2LOrlLr1aA8fIqVU61Y1Ur/zch+FQqX3/9uj5NnyA2JrAbHyBPHeP58+8RglHgsCzflcCJQhBpl1oELtZf/5rA2eaZ4RqSK67lN+O7WWH8a4Pnj4Km8PaeukOVYxmPUg6rKIeIpcFIZ0gbrT1sk0iaYWbHGRBGBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 130.117.225.111) smtp.rcpttodomain=virtuozzo.com smtp.mailfrom=virtuozzo.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=virtuozzo.com; dkim=pass (signature was verified) header.d=virtuozzo.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eoZsAUAVX2lEoA5F9xHEs+N7KidaX1eJcuw3emfiAiE=; b=l3U34+dDXUpkdkfwoAZLz82wj01GdYkgMLNlYEPoGgOpR4YdpksCghUiKuIQgrd2FWg0syqXXqDHl/9qwCRbTtosTeyJRis33Sw400L4mSXms3MEja78vLawqcjaSfRVUVBnHddhs6ykJdk0DQv4SikGsyF+7ics0nKWI8wiCuWEX9RoPwUoZNjqMONGHUZHpVQiGdRZFGGNOilsc11rtsrjFtF1sia02XfnoHUXGml4BCccvHNtoIB0vATglNd4qt8n3C3c2+CnZU+RIcD5mX73jMu3JLNXx39Scz9JUwXEd2e0vyNyjVl9WBKy+Jjek2Z/2nEvq1UX4IEIE64t/A== Received: from DU7P194CA0013.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:553::29) by AM7PR08MB5479.eurprd08.prod.outlook.com (2603:10a6:20b:104::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Tue, 1 Dec 2026 09:18:23 +0000 Received: from DU2PEPF00028D02.eurprd03.prod.outlook.com (2603:10a6:10:553:cafe::9f) by DU7P194CA0013.outlook.office365.com (2603:10a6:10:553::29) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Tue, 1 Dec 2026 09:18:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 130.117.225.111) smtp.mailfrom=virtuozzo.com; dkim=pass (signature was verified) header.d=virtuozzo.com;dmarc=pass action=none header.from=virtuozzo.com; Received-SPF: Pass (protection.outlook.com: domain of virtuozzo.com designates 130.117.225.111 as permitted sender) receiver=protection.outlook.com; client-ip=130.117.225.111; helo=relay.virtuozzo.com; pr=C Received: from relay.virtuozzo.com (130.117.225.111) by DU2PEPF00028D02.mail.protection.outlook.com (10.167.242.186) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.3 via Frontend Transport; Tue, 1 Dec 2026 09:18:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=eoZsAUAVX2lEoA5F9xHEs+N7KidaX1eJcuw3emfiAiE=; b=OMqE0NAOK/iB S7v7laETMLez0UXGkp/HrDTk++rH2QZR1ltgpp4rFal7YQXTcrH8SyJKlGyw4hGOUmLKZ8HZ19bz9 HH/jqQunQ6KnuXfeNDhgiuKtiaQmqXv1i9IZdRRjexZrvN+ZOv2fxIiH0JzjybnUPGEiQHgyFX7Ys AFbgKvn5M328QtqFQYv0l9kOtzdl8mm9VwCcmeRjatCcMC512tT89l8gexNElhJuTi+MCP7/IfF5D 4wyDyfLHbdx7gOuPeuNLx+m/cgXbY8AGTxgFAO4Cj/vY53d3z+/V6hwvUOuwNXBJoQcZynyKR/37l kWS2W/7Z3v0S8RjraWEwLw==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=sky) by relay.virtuozzo.com with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xYJzt-000oEp-2l; Tue, 01 Dec 2026 10:18:12 +0100 From: Alexander Ivanov To: andrey.zhadchenko@virtuozzo.com Cc: andrey.drobyshev@virtuozzo.com, svt-core@virtuozzo.com Subject: [PATCH hci-8.2 v4 4/5] vhost-blk: pause the VM on a request failed with ENOSPC #VSTOR-152175 Date: Tue, 1 Dec 2026 10:18:17 +0100 Message-ID: <20261201091818.1894308-5-alexander.ivanov@virtuozzo.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261201091818.1894308-1-alexander.ivanov@virtuozzo.com> References: <20261201091818.1894308-1-alexander.ivanov@virtuozzo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PEPF00028D02:EE_|AM7PR08MB5479:EE_ X-MS-Office365-Filtering-Correlation-Id: 819d9b3c-fe60-47ee-cef7-08df4f8c0bf2 X-LD-Processed: 0bc7f26d-0264-416e-a6fc-8352af79c58f,ExtAddr List-Id: svt-core@virtuozzo.com X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|82310400026|1800799024|376014|36860700016|18002099003|6133799003|261009223027099003|5113699003|13003099007|22082099003|260925022911599003|260925021911599003|260925021311599003|10067099003|56012099006|261102123227099003|261021135927099003|261021123027099003|261021121427099003|261026121527099003|261028144727099003|261022115727099003|261022105027099003|261022075727099003|261026140227099003; X-Microsoft-Antispam-Message-Info: TBfBxkqRzWZAzF1dXsgcmcmE2wJ4o+OOMf0ZaBipd+9LDFO/y06iTekpHiJUpkJui4/4gaefQdjJltryzCk/p9V4W7CN8wVpAXW/4GJy/hYv0DIxlh3at52AwRT2sDFFN+4DpTIcEfCvlnqpByJkb21mqRTcaRARuFjLZ9/sbhnQjaA7JMBK+PXByT0dINnTYxnND+CUYZPAEM+mytxHluTNds8NMvZE/xTlM1gzh4/1n5S/B882L4oty+eybtmEaI1695niqUOtre072M2G+eNUg1OhvTnjzNxni4RvHQys+R4lIThHnsZXmfMRINlCFR3e8iiIBq3JOXXC75zb30SBrDb9D/faPWsT1iHNgMDIjJQr6cYnY5Mvtaqh/uOaVOL56nPCwBKGl4xNVS3Or+xD7i/ULvW4b0B6aNHHpLtzHx3wYgp5lqtGPRJdbsYWjmhH11uVKofE8HRHHYEeOS97OEwUyrN28CP7JWspRPIRcZkbYC/jmlRcv87PmwJADk4eK6Ow7UwkN/LJZBPJfPoCi28w/q14ZX+GQGT6qF0XPSedfUilvnzehTgGMbLPlTqL6LQmF7h0JKAk4fvmKxRKt8nLLXmxoec/VgMBiTKK2h/w13PTXebEOGvchLodr+f7mV15jRqHxvegFanxPpVbPkBgVKAMFU0d1mgu0I8= X-Forefront-Antispam-Report: CIP:130.117.225.111;CTRY:CH;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:relay.virtuozzo.com;PTR:relay.virtuozzo.com;CAT:NONE;SFS:(13230040)(23010399003)(82310400026)(1800799024)(376014)(36860700016)(18002099003)(6133799003)(261009223027099003)(5113699003)(13003099007)(22082099003)(260925022911599003)(260925021911599003)(260925021311599003)(10067099003)(56012099006)(261102123227099003)(261021135927099003)(261021123027099003)(261021121427099003)(261026121527099003)(261028144727099003)(261022115727099003)(261022105027099003)(261022075727099003)(261026140227099003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bCEXyQzqqyKGAPbqFAR9nM3b+/wWX4GCg5f141a4ztgeQyCgZInbtDxMuKzv7x+IhKVU1jVIrLKa5K0kmowIkvQrJZ+f9HLsXIAjJzaRzV4OIOHzex/ERGOuKwzjEELVgyr5xgFhDXObvHXB+wFDOJt+pkRWvtw02zcsa6TwNusJFQC9fp7YOe4vvNsAYFZuwD9t0wkZe4Rsyy58juwjbq4Rri541C5iFDKDID294NLuPt4AVenyfeRbeJWm6xMJQADS4M693EIze3lzRC/4ZHknYriYEpAMFXM8yCp/FJer9elHC4VMConOqU0ZoXyhTlV0pnTYj2MDqIazwyBFubcNpfLV2BiOdz9yTxkmqLRmT66P8swokWStICJ00RftZSt9COTI9j72y/UCQCSIrrpHRjF0wh18S6NlerW7svykQwXZAWtf0qtjZrp3iNHn X-Auto-Response-Suppress: DR, OOF, AutoReply X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 09:18:22.4142 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 819d9b3c-fe60-47ee-cef7-08df4f8c0bf2 X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0bc7f26d-0264-416e-a6fc-8352af79c58f;Ip=[130.117.225.111];Helo=[relay.virtuozzo.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028D02.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5479 vhost-blk completes requests in the kernel, so werror and rerror have no effect: dm-qcow2 mounted with report_enospc fails a write to a full image at once, and the guest gets the error. The kernel can hold such a request instead of completing it. Set the hold policy from werror and rerror on every start, and pass an eventfd the kernel signals on a held request. On the event stop the VM with the io-error reason and emit BLOCK_IO_ERROR, as the block layer does for other devices. The device field is the id of the proxy, which is the disk alias libvirt looks the disk up by. The kernel holds only ENOSPC, so the stop policy holds it too and still reports other errors to the guest. The kernel resubmits a held request by its vq and head, and only after the backend is set anew. So read the list of held requests when vhost stops, once the backend is unset and the list is final, and resubmit them on the next start. VHOST_RESET_OWNER empties the list in the kernel, and a device reset drops the saved one, as the guest rings are gone. A request may also be held while the VM is not running, when the stop drains the requests in flight. Do not report it then: it is resubmitted when the VM runs again, and pauses the VM if it fails again. A request held while the guest is suspended is not reported either: a wakeup resets the device, which drops it along with the rings. Probe the ioctls at realize. On a kernel without them warn and run as before. https://virtuozzo.atlassian.net/browse/VSTOR-152175 Signed-off-by: Alexander Ivanov --- hw/block/vhost-blk.c | 177 +++++++++++++++++++++++++++++++++- include/hw/virtio/vhost-blk.h | 9 ++ 2 files changed, 185 insertions(+), 1 deletion(-) diff --git a/hw/block/vhost-blk.c b/hw/block/vhost-blk.c index 124885a2b30..19003def393 100644 --- a/hw/block/vhost-blk.c +++ b/hw/block/vhost-blk.c @@ -32,6 +32,102 @@ #include "migration/blocker.h" #include "migration/cpr.h" #include "system/runstate.h" +#include "qapi/qapi-events-block-core.h" + +static uint64_t vhost_blk_error_policy(VHostBlk *s) +{ + uint64_t policy = 0; + + if (s->conf.conf.werror != BLOCKDEV_ON_ERROR_REPORT) { + policy |= VHOST_BLK_HOLD_ENOSPC_WRITE; + } + if (s->conf.conf.rerror != BLOCKDEV_ON_ERROR_REPORT) { + policy |= VHOST_BLK_HOLD_ENOSPC_READ; + } + return policy; +} + +static struct vhost_blk_held_reqs *vhost_blk_get_held(VHostBlk *s) +{ + uint32_t nr = s->conf.num_queues * s->conf.queue_size; + struct vhost_blk_held_reqs *reqs; + + if (!s->hold_supported) { + return NULL; + } + + reqs = g_malloc0(sizeof(*reqs) + nr * sizeof(reqs->reqs[0])); + reqs->nr = nr; + if (ioctl(s->vhostfd, VHOST_BLK_GET_HELD_REQS, reqs)) { + error_report("vhost-blk: unable to get held requests: %s", + strerror(errno)); + g_free(reqs); + return NULL; + } + return reqs; +} + +static void vhost_blk_save_held(VHostBlk *s) +{ + g_autofree struct vhost_blk_held_reqs *reqs = vhost_blk_get_held(s); + int i; + + g_free(s->held); + s->held = NULL; + s->nr_held = reqs ? reqs->nr : 0; + if (!s->nr_held) { + return; + } + + s->held = g_new(VHostBlkHeldReq, s->nr_held); + for (i = 0; i < s->nr_held; i++) { + s->held[i].vq = reqs->reqs[i].vq; + s->held[i].head = reqs->reqs[i].head; + } +} + +static void vhost_blk_resubmit_held(VHostBlk *s) +{ + g_autofree struct vhost_blk_held_reqs *reqs = NULL; + uint32_t i, nr, done = 0; + + if (!s->nr_held) { + return; + } + + reqs = g_malloc0(sizeof(*reqs) + s->nr_held * sizeof(reqs->reqs[0])); + + while (done < s->nr_held) { + nr = s->nr_held - done; + reqs->nr = nr; + for (i = 0; i < nr; i++) { + reqs->reqs[i].vq = s->held[done + i].vq; + reqs->reqs[i].head = s->held[done + i].head; + } + + if (!ioctl(s->vhostfd, VHOST_BLK_RESUBMIT, reqs)) { + break; + } + if (reqs->nr >= nr) { + error_report("vhost-blk: unable to resubmit held requests: %s", + strerror(errno)); + break; + } + + done += reqs->nr; + if (errno == ENOMEM) { + continue; + } + error_report("vhost-blk: unable to resubmit held request " + "vq %u head %u: %s", s->held[done].vq, + s->held[done].head, strerror(errno)); + done++; + } + + g_free(s->held); + s->held = NULL; + s->nr_held = 0; +} /* * Spread the virtqueues round-robin over nworkers kernel threads. Thread 0 is @@ -115,6 +211,19 @@ static int vhost_blk_start(VirtIODevice *vdev) return -ENOSYS; } + if (s->hold_supported) { + uint64_t policy = vhost_blk_error_policy(s); + int fd = event_notifier_get_fd(&s->error_notifier); + + /* VHOST_RESET_OWNER drops both */ + if (ioctl(s->vhostfd, VHOST_BLK_SET_ERROR_POLICY, &policy) || + ioctl(s->vhostfd, VHOST_BLK_SET_ERROR_FD, &fd)) { + error_report("vhost-blk: unable to set error policy"); + ret = -EINVAL; + goto err_reset_owner; + } + } + if (nworkers > 1) { ret = vhost_blk_set_workers(hdev, nworkers); if (ret < 0) { @@ -170,6 +279,8 @@ static int vhost_blk_start(VirtIODevice *vdev) event_notifier_set(virtio_queue_get_host_notifier(virtio_get_queue(vdev, i))); } + vhost_blk_resubmit_held(s); + s->vhost_started = true; return 0; @@ -216,6 +327,8 @@ static void vhost_blk_stop(VirtIODevice *vdev) ret = ioctl(s->vhostfd, VHOST_BLK_SET_BACKEND, &backend); assert(ret == 0); + vhost_blk_save_held(s); + vhost_dev_stop(hdev, vdev, false); ret = k->set_guest_notifiers(qbus->parent, hdev->nvqs, false); @@ -239,6 +352,16 @@ static void vhost_blk_reset(VirtIODevice *vdev) } } +static void vhost_blk_device_reset(VirtIODevice *vdev) +{ + VHostBlk *s = VHOST_BLK(vdev); + + vhost_blk_reset(vdev); + g_free(s->held); + s->held = NULL; + s->nr_held = 0; +} + static int vhost_blk_set_status(VirtIODevice *vdev, uint8_t status) { int ret; @@ -274,6 +397,38 @@ static void vhost_blk_vm_state(void *opaque, bool running, RunState state) } } +static void vhost_blk_error_event(EventNotifier *n) +{ + VHostBlk *s = container_of(n, VHostBlk, error_notifier); + DeviceState *dev = DEVICE(s); + DeviceState *proxy = qdev_get_parent_bus(dev)->parent; + g_autofree struct vhost_blk_held_reqs *reqs = NULL; + g_autofree char *path = NULL; + struct vhost_blk_held_req *req; + + if (!event_notifier_test_and_clear(n) || !s->vhost_started || + !runstate_is_running()) { + return; + } + + reqs = vhost_blk_get_held(s); + if (!reqs || !reqs->nr) { + return; + } + req = &reqs->reqs[reqs->nr - 1]; + path = object_get_canonical_path(OBJECT(dev)); + + qemu_system_vmstop_request_prepare(); + qapi_event_send_block_io_error(path, proxy->id ?: "", NULL, + req->type == VIRTIO_BLK_T_IN ? + IO_OPERATION_TYPE_READ : + IO_OPERATION_TYPE_WRITE, + BLOCK_ERROR_ACTION_STOP, true, + req->error == ENOSPC, strerror(req->error), + 0, 0); + qemu_system_vmstop_request(RUN_STATE_IO_ERROR); +} + static bool vhost_blk_update_size(VHostBlk *s, Error **errp) { BlockConf *conf = &s->conf.conf; @@ -720,6 +875,7 @@ static void vhost_blk_device_realize(DeviceState *dev, Error **errp) VHostBlk *s = VHOST_BLK(vdev); VhostBlkConf *conf = &s->conf; struct vhost_virtqueue *vqs; + uint64_t policy = 0; int i, ret; if (!conf->devpath) { @@ -796,6 +952,13 @@ static void vhost_blk_device_realize(DeviceState *dev, Error **errp) s->mighand = qemu_add_vm_change_state_handler(vhost_blk_vm_state, vdev); + ret = event_notifier_init(&s->error_notifier, 0); + if (ret < 0) { + error_setg_errno(errp, -ret, + "vhost-blk: unable to create the error eventfd"); + goto cleanup; + } + ret = vhost_dev_init(&s->dev, (void *)((size_t)s->vhostfd), VHOST_BACKEND_TYPE_KERNEL, 0, NULL); if (ret < 0) { @@ -815,6 +978,14 @@ static void vhost_blk_device_realize(DeviceState *dev, Error **errp) goto cleanup; } + event_notifier_set_handler(&s->error_notifier, vhost_blk_error_event); + s->hold_supported = !ioctl(s->vhostfd, VHOST_BLK_SET_ERROR_POLICY, + &policy); + if (!s->hold_supported && vhost_blk_error_policy(s)) { + warn_report("vhost-blk: the kernel cannot hold failed requests, " + "werror and rerror have no effect"); + } + return; cleanup: @@ -831,6 +1002,7 @@ cleanup: s->backend_fd = -1; } vhost_blk_uevent_detach(s); + event_notifier_cleanup(&s->error_notifier); for (i = 0; i < conf->num_queues; i++) { virtio_del_queue(vdev, i); } @@ -848,6 +1020,9 @@ static void vhost_blk_device_unrealize(DeviceState *dev) qemu_del_vm_change_state_handler(s->mighand); vhost_blk_stop(vdev); vhost_dev_cleanup(&s->dev); + event_notifier_set_handler(&s->error_notifier, NULL); + event_notifier_cleanup(&s->error_notifier); + g_free(s->held); if (s->backend_fd >= 0) { qemu_close(s->backend_fd); s->backend_fd = -1; @@ -999,7 +1174,7 @@ static void vhost_blk_class_init(ObjectClass *klass, const void *data) vdc->get_config = vhost_blk_update_config; vdc->get_features = vhost_blk_get_features; vdc->set_status = vhost_blk_set_status; - vdc->reset = vhost_blk_reset; + vdc->reset = vhost_blk_device_reset; vdc->get_vhost = vhost_blk_get_vhost; } diff --git a/include/hw/virtio/vhost-blk.h b/include/hw/virtio/vhost-blk.h index 9110462109f..dd6dd53c1c7 100644 --- a/include/hw/virtio/vhost-blk.h +++ b/include/hw/virtio/vhost-blk.h @@ -35,6 +35,11 @@ typedef struct VhostBlkConf { char *serial; } VhostBlkConf; +typedef struct VHostBlkHeldReq { + uint16_t vq; + uint16_t head; +} VHostBlkHeldReq; + typedef struct VHostBlk { VirtIODevice parent_obj; VhostBlkConf conf; @@ -52,6 +57,10 @@ typedef struct VHostBlk { bool discard; QEMUBH *resize_bh; Error *cpr_blocker; + EventNotifier error_notifier; + bool hold_supported; + VHostBlkHeldReq *held; + int32_t nr_held; } VHostBlk; #endif -- 2.53.0