RFC vfio based pci pass-through for qemu/KVM on s390
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: s390: Enable PCI instructionsarch/ | +1 | 0 replies | |
| 2/6 | iommu: add iommu for s390 platformarch/ arch/ drivers/ +2 more | +213 | 0 replies | |
| 3/6 | vfio: make vfio build on s390drivers/ drivers/ | +9 | 0 replies | |
| 4/6 | s390: Add PCI bus supportdefault-configs/ hw/ hw/ +8 more | +650 | 0 replies | |
| 5/6 | s390: implement pci instructiontarget-s390x/ target-s390x/ target-s390x/ +1 more | +1099 | 2 replies | |
| 6/6 | vfio: make vfio run on s390 platformhw/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC patch 0/6] vfio based pci pass-through for qemu/KVM on s390
This set of patches implements a vfio based solution for pci pass-through on the s390 platform. The kernel stuff is pretty much straight forward, but qemu needs more work.
Most interesting patch is:
vfio: make vfio run on s390 platform
I hope Alex & Alex can give me some guidance how to do the changes in an appropriate way. After creating a separate iommmu address space for each attached PCI device I can successfully run the vfio type1 iommu. So If we could extend type1 not registering all guest memory (see patch) I think we do not need a special vfio iommu for s390 for the moment.
The patches implement the base pass-through support. s390 specific virtualization functions are currently not included. This would be a second step after the base support is done.
kernel patches apply to linux-kvm-next
KVM: s390: Enable PCI instructions
iommu: add iommu for s390 platform
vfio: make vfio build on s390
qemu patches apply to qemu-master
s390: Add PCI bus support
s390: implement pci instruction
vfio: make vfio run on s390 platform
Thx for feedback and review comments
Frank