[Devel] [PATCH RH9 v4 01/10] drivers/vhost: vhost-blk accelerator for virtio-blk guests

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Fri Nov 4 14:35:00 MSK 2022



On 04.11.2022 11:54, Pavel Tikhomirov wrote:
> On 01.11.2022 10:25, Andrey Zhadchenko wrote:
>> +    snprintf(blk->serial, VIRTIO_BLK_ID_BYTES, "vhost-blk%d", gen++);
> 
> Still no explanation comment about gen++ thing, please do.
> 

Ah sorry, now I see that serial can be configured from userspace by 
VHOST_BLK_SET_SERIAL so gen++ overflow is not so important now. Please 
disregard.

-- 
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.


More information about the Devel mailing list