From patchwork Wed Dec 2 12:04:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 40017 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C18C5B7BEC for ; Thu, 3 Dec 2009 00:24:16 +1100 (EST) Received: from localhost ([127.0.0.1]:56764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFpBk-0002bG-Gm for incoming@patchwork.ozlabs.org; Wed, 02 Dec 2009 08:24:12 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFnxp-0004Op-1V for qemu-devel@nongnu.org; Wed, 02 Dec 2009 07:05:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFnxl-0004Nc-1y for qemu-devel@nongnu.org; Wed, 02 Dec 2009 07:05:44 -0500 Received: from [199.232.76.173] (port=42920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFnxk-0004NS-Mx for qemu-devel@nongnu.org; Wed, 02 Dec 2009 07:05:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1677) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFnxk-0004Cb-40 for qemu-devel@nongnu.org; Wed, 02 Dec 2009 07:05:40 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB2C5dIB020675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Dec 2009 07:05:39 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB2C5ILB029769; Wed, 2 Dec 2009 07:05:38 -0500 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 2 Dec 2009 13:04:11 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: mst@redhat.com Subject: [Qemu-devel] [PATCH 13/41] msix: msix_load/save are not needed anymore X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/msix.c | 11 ----------- hw/msix.h | 2 -- 2 files changed, 0 insertions(+), 13 deletions(-) diff --git a/hw/msix.c b/hw/msix.c index f00256a..8bbae99 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -328,17 +328,6 @@ const VMStateDescription vmstate_msix = { } }; -void msix_save(PCIDevice *dev, QEMUFile *f) -{ - vmstate_save_state(f, &vmstate_msix, dev); -} - -void msix_load(PCIDevice *dev, QEMUFile *f) -{ - vmstate_load_state(f, &vmstate_msix, dev, vmstate_msix.version_id); -} - - /* Does device support MSI-X? */ int msix_present(PCIDevice *dev) { diff --git a/hw/msix.h b/hw/msix.h index a921a98..ead6ce1 100644 --- a/hw/msix.h +++ b/hw/msix.h @@ -16,8 +16,6 @@ void msix_mmio_map(PCIDevice *pci_dev, int region_num, int msix_uninit(PCIDevice *d); extern const VMStateDescription vmstate_msix; -void msix_save(PCIDevice *dev, QEMUFile *f); -void msix_load(PCIDevice *dev, QEMUFile *f); int msix_enabled(PCIDevice *dev); int msix_present(PCIDevice *dev);