Introduction
This article will focus on the details of virtio 1.0 device PCI config space. It will be centered around a sample virtio net PCI config taken from a real running virtual machine and explain every single field.
Sample PCI Config Space For Virtio Net Device
The following is the hexadecimal dump of the configuration space of a virtio net device:
00:04.0 Ethernet controller: Red Hat, Inc Device 1041 (rev 01)
00: f4 1a 41 10 07 05 10 00 01 00 00 02 00 00 00 00
10: 00 00 00 00 00 20 bd fe 00 00 00 00 00 00 00 00
20: 0c 00 00 fe 00 00 00 00 00 00 00 00 f4 1a 00 11
30: 00 00 b8 fe 98 00 00 00 00 00 00 00 0b 01 00 00
40: 09 00 10 01 04 00 00 00 00 00 00 00 00 10 00 00
50: 09 40 10 03 04 00 00 00 00 10 00 00 00 10 00 00
60: 09 50 10 04 04 00 00 00 00 20 00 00 00 10 00 00
70: 09 60 14 02 04 00 00 00 00 30 00 00 00 00 40 00
80: 00 10 00 00 09 70 14 05 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 11 84 02 80 01 00 00 00
a0: 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00
This article will focus on the details of virtio 1.0 device PCI config space. It will be centered around a sample virtio net PCI config taken from a real running virtual machine and explain every single field.
Sample PCI Config Space For Virtio Net Device
The following is the hexadecimal dump of the configuration space of a virtio net device:
00:04.0 Ethernet controller: Red Hat, Inc Device 1041 (rev 01)
00: f4 1a 41 10 07 05 10 00 01 00 00 02 00 00 00 00
10: 00 00 00 00 00 20 bd fe 00 00 00 00 00 00 00 00
20: 0c 00 00 fe 00 00 00 00 00 00 00 00 f4 1a 00 11
30: 00 00 b8 fe 98 00 00 00 00 00 00 00 0b 01 00 00
40: 09 00 10 01 04 00 00 00 00 00 00 00 00 10 00 00
50: 09 40 10 03 04 00 00 00 00 10 00 00 00 10 00 00
60: 09 50 10 04 04 00 00 00 00 20 00 00 00 10 00 00
70: 09 60 14 02 04 00 00 00 00 30 00 00 00 00 40 00
80: 00 10 00 00 09 70 14 05 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 11 84 02 80 01 00 00 00
a0: 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00