framework/settings: Add virtio-modern
Commit Message
In VIRTIO Version 1.2, a non-transitional device (device not supporting
legacy interface), has the PCI device ID 0x1041:
Virtual I/O Device (VIRTIO) Version 1.2
https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html
> 4 Virtio Transport Options
> 4.1 Virtio Over PCI Bus
> 4.1.2 PCI Device Discovery
> 4.1.2.1 Device Requirements: PCI Device Discovery
> Devices MUST have the PCI Vendor ID 0x1AF4. Devices MUST either have
> the PCI Device ID calculated by adding 0x1040 to the Virtio Device ID,
> as indicated in section 5 or have the Transitional PCI Device ID
> depending on the device type, as follows:
> 5 Device Types
> 5.1 Network Device
> 5.1.1 Device ID
> 1
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
framework/settings.py | 2 ++
1 file changed, 2 insertions(+)
---
base-commit: 427e7c3f37bbb1263d81c466d7a83e9193013321
change-id: 20240203-virtio-1020822e7344
Best regards,
@@ -46,6 +46,7 @@ NICS = {
"IGB_1G-I210_COPPER": "8086:1533",
"IXGBE_10G-82599_SFP_SF_QP": "8086:154a",
"virtio": "1af4:1000",
+ "virtio-modern": "1af4:1041",
"IGB_1G-I354_SGMII": "8086:1f41",
"IGB_2.5G-I354_BACKPLANE_2_5GBPS": "8086:1f45",
"IGB_1G-PCH_LPT_I217_V": "8086:153b",
@@ -141,6 +142,7 @@ DRIVERS = {
"IGB_1G-I210_COPPER": "igb",
"IXGBE_10G-82599_SFP_SF_QP": "ixgbe",
"virtio": "virtio-pci",
+ "virtio-modern": "virtio-pci",
"IGB_1G-I354_SGMII": "igb",
"IGB_2.5G-I354_BACKPLANE_2_5GBPS": "igb",
"IGB_1G-PCH_LPT_I217_V": "igb",