[PATCH v2 5/6] vhost: fix and refactor VDUSE reconnect log check
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Oct 24 11:44:40 CEST 2024
On 10/24/24 10:36, David Marchand wrote:
> On Thu, Oct 24, 2024 at 9:55 AM Maxime Coquelin
> <maxime.coquelin at redhat.com> wrote:
>> - if (reconnect_log->nr_vrings != total_queues) {
>> - VHOST_CONFIG_LOG(name, ERR,
>> - "Queues number mismatch between backend (%u) and reconnection file (%u)",
>> - total_queues, reconnect_log->nr_vrings);
>> - ret = -1;
>> + ret = vduse_reconnect_log_check(reconnect_log, name, features, total_queues);
>> + if (ret < 0) {
>> + VHOST_CONFIG_LOG(name, ERR, "Reconnection log file check failed");
>
> Idem.
> Patch 6 will remove it.
V3 posted addressing both remarks.
Thanks,
Maxime
>
>
>> goto out_log_unmap;
>> }
>> } else if (errno == ENOENT) {
>> --
>> 2.46.2
>>
>
>
More information about the dev
mailing list