qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/41] msix: msix_load/save are not needed anymore


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 13/41] msix: msix_load/save are not needed anymore
Date: Wed, 2 Dec 2009 13:04:11 +0100

Signed-off-by: Juan Quintela <address@hidden>
---
 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);
-- 
1.6.5.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]