xref: /kvmtool/include/kvm/virtio-pci-dev.h (revision b025083d4b2db30bd2fedd263a1470c9a02d9272)
1 #ifndef VIRTIO_PCI_DEV_H_
2 #define VIRTIO_PCI_DEV_H_
3 
4 #include <linux/virtio_ids.h>
5 
6 /*
7  * Virtio PCI device constants and resources
8  * they do use (such as irqs and pins).
9  */
10 
11 #define PCI_DEVICE_ID_VIRTIO_NET		0x1000
12 #define PCI_DEVICE_ID_VIRTIO_BLK		0x1001
13 #define PCI_DEVICE_ID_VIRTIO_CONSOLE		0x1003
14 #define PCI_DEVICE_ID_VIRTIO_RNG		0x1004
15 #define PCI_DEVICE_ID_VIRTIO_P9			0x1009
16 #define PCI_DEVICE_ID_VESA			0x2000
17 
18 #define PCI_VENDOR_ID_REDHAT_QUMRANET		0x1af4
19 #define PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET	0x1af4
20 
21 #define PCI_SUBSYSTEM_ID_VESA			0x0004
22 
23 #endif /* VIRTIO_PCI_DEV_H_ */
24