[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT PATCH v2 0/2] Introduce virtio support in Unikraft
- To: minios-devel@xxxxxxxxxxxxx
- From: Costin Lupu <costin.lupu@xxxxxxxxx>
- Date: Fri, 29 Jun 2018 21:28:20 +0300
- Cc: simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx, yuri.volchkov@xxxxxxxxx
- Delivery-date: Fri, 29 Jun 2018 18:28:38 +0000
- Ironport-phdr: 9a23:zI0IEBcIoXgoP+u38+Sc7mn9lGMj4u6mDksu8pMizoh2WeGdxcW5Zh7h7PlgxGXEQZ/co6odzbaO7ea4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYL5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNF+gqxYpxysvABzz5LObY2JLvdyYr/RcNUHTmRBRMZRUClBD5uiYosIFOoBIedYr4/grFUIsBu+HRSsD/7oxzBUgX/2xrE60+UnEQ3c2AwgAsoOsGnPodrpL6ceS/i1zLTTwjnZdfNW3i7w5Y7VeR4iufGBRa98fMXMxUU1FA7Ijk+cpZL7Mz6XzOgAvXCX4/dvWO6ykWIqqAF8riKxysoihITFnJ8Zx1/a+Sh/3Y07P8e3SFRhbt6hCJZQsiaaOJZoTc46WGFovTo6yqUBuZ6mYCgG0JQnyADba/yAa4WI/BfjW/yQITd8nn5qZKm/iwyq8Ui90eLwTNO00FFSoipElNnDqGwN2gTO5sWIV/dx5ESs1DaV2wzN9O1JI1o4mKTDJ54k2LEwl54TsUrZHi/xnUX7lLOZdkI/+ui06uTnZK/qppuBN49slwHzKbghmtelDeQgLwgBRHKX+f671LH75032XK1KjuEqkqneqJ3aIMUbpqi4Aw9SyYYv8guwACm40NsGmXkKN1ZFeBOcj4j1IFHCOv/5Aum5g1i2lzdr3f/GNKX7AprRNnjDjKvhfbFl5k5HyAo818pf6IhSCr0bO/L8QEnxtMDYDhAjNQy72ePnBc571owARW2PBrWWP7jIvVCW++IlO/OMa5MNuDbhN/gl4ObjjWQ4mV8Yeqmp24EbaHOlHvt4JUWYYGTjgs0aHGcMoAUxUOjqh0eZXjJJeXmyQro25isnB4K+EYfDWoetjaSB3SemBJ1WZ3pKCk6LEXfsa4qEW/QMaCWMIsJ6lDwLS6SuS4s72h61rgP11adnfaLo/XgdtJTi08Mw6+DNmBUa8T1vE9/bw2yLCWZukTAmXTgziYt4ulB8zB+nzLBly6hTEsdP5vUPVhoiKLbX1KpiFtq0QAWXLYTBc0qvXtjzWWJ5ddk22dJbO0s=
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
This patch series introduce the basic virtio support which shall
be needed for future virtio drivers implementations.
Changes since v1:
1) Add comments emphasising indications for future enhancements.
2) Add virtio types for little endian.
3) Add extra validations on virtual queue initialization and descriptor
chaining.
Costin Lupu (2):
plat/common: Move IO functions to x86_64 specific header
plat/kvm: Introduce virtio base driver
plat/Makefile.uk | 1 +
plat/common/include/pci/pci_bus.h | 52 -----
plat/common/include/pci/virtio/virtio_pci.h | 66 +++++++
plat/common/include/pci/virtio/virtio_ring.h | 276 +++++++++++++++++++++++++++
plat/common/include/x86/cpu.h | 32 ++++
plat/common/pci_bus.c | 3 +-
plat/drivers/virtio/virtio_ring.c | 165 ++++++++++++++++
plat/kvm/Config.uk | 8 +
plat/kvm/Makefile.uk | 15 +-
9 files changed, 563 insertions(+), 55 deletions(-)
create mode 100644 plat/common/include/pci/virtio/virtio_pci.h
create mode 100644 plat/common/include/pci/virtio/virtio_ring.h
create mode 100644 plat/drivers/virtio/virtio_ring.c
--
2.11.0
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|