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.
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel