]> xenbits.xensource.com Git - seabios.git/commitdiff
virtio: add version 0.9.5 struct
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2015 06:42:50 +0000 (08:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Jul 2015 07:37:29 +0000 (09:37 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/hw/virtio-pci.h

index 83ebcda802088b8c48378ea44b6b251ca98d38d3..42e2b7f71f96a6f08beb610564675624e4f14617 100644 (file)
 /* Virtio ABI version, this must match exactly */
 #define VIRTIO_PCI_ABI_VERSION          0
 
+/* --- virtio 0.9.5 (legacy) struct --------------------------------- */
+
+typedef struct virtio_pci_legacy {
+    u32 host_features;
+    u32 guest_features;
+    u32 queue_pfn;
+    u16 queue_num;
+    u16 queue_sel;
+    u16 queue_notify;
+    u8  status;
+    u8  isr;
+    u8  device[];
+} virtio_pci_legacy;
+
 /* --- virtio 1.0 (modern) structs ---------------------------------- */
 
 /* Common configuration */