CVS commit: src/sys/dev/pci

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Apr  3 15:50:05 UTC 2026

Modified Files:
	src/sys/dev/pci: ld_virtio.c

Log Message:
ld_virtio.c: work around a qemu bug

qemu vhost-user-blk-server.c advertizes VIRTIO_BLK_F_SIZE_MAX
with zero VIRTIO_BLK_CONFIG_SIZE_MAX. it doesn't make sense.

references:
https://github.com/qemu/qemu/blob/b6a7d06213e5d2f7d124d16418bc289c4a8a4b82/block/export/vhost-user-blk-server.c#L122
https://github.com/qemu/qemu/blob/b6a7d06213e5d2f7d124d16418bc289c4a8a4b82/block/export/vhost-user-blk-server.c#L243


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/ld_virtio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.