From fda77c2d65d15ed35b01f60be37a17e2cd83bfe3 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Tue, 3 Jul 2007 09:55:03 +0000 Subject: Fix loadvm git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3044 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/iommu.c') diff --git a/hw/iommu.c b/hw/iommu.c index 082451f986..77d8b817e6 100644 --- a/hw/iommu.c +++ b/hw/iommu.c @@ -259,7 +259,7 @@ static int iommu_load(QEMUFile *f, void *opaque, int version_id) return -EINVAL; for (i = 0; i < IOMMU_NREGS; i++) - qemu_put_be32s(f, &s->regs[i]); + qemu_get_be32s(f, &s->regs[i]); qemu_get_be64s(f, &s->iostart); return 0; -- cgit v1.2.3