fix virtio_blk serial pci config breakage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fix virtio_blk serial pci config breakagehw/ hw/ hw/ +1 more | +128 | 10 replies | |
| 2/2 | fix virtio_blk serial pci config breakagedrivers/ drivers/ include/ | +32 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] fix virtio_blk serial pci config breakage
This is a correction to the previous version which violated the PCI config space 256 byte limitation.
The crux of the feature is simply passing a qemu received virtio serial number to/through the guest driver and making it available to guest userspace via a preexisting interface.
To accomplish this, ATA IDENTIFY data as implemented by the HDIO_GET_IDENTITY ioctl is returned to the caller for the virtio_blk drive of interest. Content of this identify structure is created by qemu and passed wholesale to guest userspace without interpretation by the guest driver.
The change this patch implements is passing of the identify data through a mapping established by PCI BAR #5 rather than the PCI config area, the latter of which resulted in the above breakage.
virtio_blk with this patch now pulls the information from the mapped bar area and includes minimal scaffolding to help map bars external to virtio_pci.
-john
Signature · 1 line
[email protected]