SIGN IN SIGN UP

virtio-blk: surface krun_add_disk2 block_id as device ID/serial

VIRTIO_BLK_T_GET_ID previously returned a file-derived image id, so
guests saw arbitrary serials under /sys/block/*/serial and could not
locate disks by the block_id the host passed to krun_add_disk2. Use
the supplied block id as the device ID so exact-serial discovery works.

Assisted-by: Codex / GPT-5
Signed-off-by: Ryan Dunn <dunnry@hotmail.com>
R
Ryan Dunn committed
df85b8b75f55e8ef1b06b5bc18f08dc6d7b5aeb0
Parent: 3899a78
Committed by Sergio López <slp@sinrega.org> on 7/17/2026, 9:47:36 AM