On Wed, Dec 01, 2021 at 12:21:34PM +0100, Gerd Hoffmann wrote:
> Hi,
>
> > I'm not sure what you'd prefer to do with the SeaBIOS release though.
> > We have a couple of high-level options:
> >
> > 1. Release v1.15.0 this week without these changes (tag 64f37cc5).
> >
> > 2. Commit the smbios
The 1.15.0 version of SeaBIOS has now been released. For more
information on the release, please see:
http://seabios.org/Releases
New in this release:
* Improved support for USB devices with multiple interfaces.
* Support for USB XHCI devices using direct MMIO access (instead of PCI).
* NVMe
abstract virtio-blk queue operation to form a function named
virtio_blk_op_one_segment
Signed-off-by: Andy Pei
Signed-off-by: Ding Limin
---
src/hw/virtio-blk.c | 48
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git
if driver reads data larger than VIRTIO_BLK_F_SIZE_MAX, it will cause
some issue to the DMA engine.
So add VIRTIO_BLK_F_SIZE_MAX feature support, when upper software
wants to read data larger than VIRTIO_BLK_F_SIZE_MAX, virtio-blk
driver split one large request into multiple smaller ones.
Andy
according to virtio spec, add feature VIRTIO_BLK_F_SIZE_MAX
and VIRTIO_BLK_F_SEG_MAX parse to virtio blk driver.
Signed-off-by: Andy Pei
Signed-off-by: Ding Limin
---
src/block.h | 2 ++
src/hw/virtio-blk.c | 56 +++--
if driver reads data larger than VIRTIO_BLK_F_SIZE_MAX,
it will cause some issue to the DMA engine.
So when upper software wants to read data larger than
VIRTIO_BLK_F_SIZE_MAX, virtio-blk driver split one large
request into multiple smaller ones.
Signed-off-by: Andy Pei
Signed-off-by: Ding