From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTuSX-0005Fw-4W for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTuSR-0006Vx-TV for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:05:20 -0400 Received: from mail-ia0-f173.google.com ([209.85.210.173]:60542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTuSR-000627-Fe for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:05:15 -0400 Received: by mail-ia0-f173.google.com with SMTP id m10so1965034iam.4 for ; Thu, 01 Nov 2012 06:05:13 -0700 (PDT) Sender: fluxion From: Michael Roth Date: Thu, 1 Nov 2012 08:04:19 -0500 Message-Id: <1351775071-7644-18-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1351775071-7644-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1351775071-7644-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 17/29] piix3: qidl_declare PIIX3State List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, aliguori@us.ibm.com, quintela@redhat.com, blauwirbel@gmail.com, pbonzini@redhat.com Signed-off-by: Michael Roth --- hw/piix_pci.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 563ded6..0242399 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -48,7 +48,9 @@ typedef struct I440FXState { #define XEN_PIIX_NUM_PIRQS 128ULL #define PIIX_PIRQC 0x60 -typedef struct PIIX3State { +typedef struct PIIX3State PIIX3State; + +QIDL_DECLARE(PIIX3State) { PCIDevice dev; /* @@ -65,11 +67,11 @@ typedef struct PIIX3State { #endif uint64_t pic_levels; - qemu_irq *pic; + qemu_irq q_immutable *pic; /* This member isn't used. Just for save/load compatibility */ int32_t pci_irq_levels_vmstate[PIIX_NUM_PIRQS]; -} PIIX3State; +}; typedef struct PAMMemoryRegion PAMMemoryRegion; -- 1.7.9.5