Commit Graph

5 Commits

Author SHA1 Message Date
Anhad Singh 8a7fa569a7 virtiod: ensure the device has MSI-X support
According to the virtio sspecification v1.2, MSI-X support is REQUIRED
and is the only supported method anyways (i.e, legacy int and MSI wont
work).

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-20 10:00:08 +10:00
Anhad Singh 100ff9abd4 virtio: add check_device_feature and ack_driver_feature for
`StandardTransport`.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 16:33:00 +10:00
Anhad Singh 12551d450f virtio: enable and allocate MSI-X vector
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 15:12:44 +10:00
Anhad Singh f750d4223d virtio: perform the device reset
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 12:19:57 +10:00
Anhad Singh 1580cb8c83 virtio: stub!
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 12:02:35 +10:00