Message ID | 20250221174949.836197-3-mjt@tls.msk.ru (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Patch Round-up for stable 9.2.2, freeze on 2025-02-23 | expand |
diff --git a/block/block-backend.c b/block/block-backend.c index 0c28091ef1..61b935e3c4 100644 --- a/block/block-backend.c +++ b/block/block-backend.c @@ -2137,7 +2137,7 @@ static void send_qmp_error_event(BlockBackend *blk, g_autofree char *path = blk_get_attached_dev_path(blk); optype = is_read ? IO_OPERATION_TYPE_READ : IO_OPERATION_TYPE_WRITE; - qapi_event_send_block_io_error(blk_name(blk), path, + qapi_event_send_block_io_error(path, blk_name(blk), bs ? bdrv_get_node_name(bs) : NULL, optype, action, blk_iostatus_is_enabled(blk), error == ENOSPC, strerror(error));