Re: [PATCH 1/1] virtio-blk: Add description for blk_size field
Stefan Hajnoczi <[email protected]> Tue, 8 Oct 2024 16:09:34 -0400
| Newsgroups | dev.linux.lists.virtio-dev,dev.linux.lists.virtualization |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 02, 2024 at 04:56:10PM -0700, Daniel Verkamp wrote: > (Perhaps u-boot's driver does not work with the QEMU's virtio-blk > device with certain storage configurations, per Stefan's note, but > that is again just one device implementation.) Yes, IOERR only happens under certain conditions: when --device virtio-blk-pci,logical_block_size=<size> is configured. When that's not the case, QEMU buffers as necessary to adjust for guest block size vs host block size differences without errors. Stefan
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmcFkX4ACgkQnKSrs4Gr c8g8Nwf+NxswDd6552kXJThCUN341HElsAmWxGplhSgPyYC52apw3sMVP2t/ML5L QKSi+eJt91MGD/yJjDgD6uA/YFgN4sLEoEP2FqAKD+PFQzkPr23UWQl4hkhUwPxD azluLJqTxLcbLBxR+/wibfFPkRo+c5TzKtsbDAk5fpbmc4/FMB0c/nWUXVuge7Oz lumhBipb+ia4p76sOZEQuU5GBYgsLEbwaTUjMd3Rvzh3CrY6Bk7S6GOVpgmsKQ3N znKsBK0ico0Nf7aMp/olbJtZ4aIoqjA4pFemaYeqriMnnp5Qpe2Q0St/hoRSi2J0 WrK8gIJ5WwiyTWDZMAC/v4jjvSG4Zw== =WbGt -----END PGP SIGNATURE-----