From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9r4e-0001dZ-Uj for qemu-devel@nongnu.org; Tue, 30 Jun 2015 04:39:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9r4a-0000gZ-U4 for qemu-devel@nongnu.org; Tue, 30 Jun 2015 04:39:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9r4a-0000gE-P9 for qemu-devel@nongnu.org; Tue, 30 Jun 2015 04:39:20 -0400 From: Gerd Hoffmann Date: Tue, 30 Jun 2015 10:38:57 +0200 Message-Id: <1435653553-7728-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1435653553-7728-1-git-send-email-kraxel@redhat.com> References: <1435653553-7728-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2 06/22] virtio: add version 0.9.5 struct List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: Gerd Hoffmann , qemu-devel@nongnu.org, "Michael S. Tsirkin" Signed-off-by: Gerd Hoffmann --- src/hw/virtio-pci.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/hw/virtio-pci.h b/src/hw/virtio-pci.h index 18beb83..bc2eb05 100644 --- a/src/hw/virtio-pci.h +++ b/src/hw/virtio-pci.h @@ -40,6 +40,20 @@ /* Virtio ABI version, this must match exactly */ #define VIRTIO_PCI_ABI_VERSION 0 +/* --- virtio 0.9.5 (legacy) struct --------------------------------- */ + +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 1.0 (modern) structs ---------------------------------- */ /* Common configuration */ -- 1.8.3.1