summaryrefslogtreecommitdiffstats
path: root/hw/iommu.c
diff options
context:
space:
mode:
authorblueswir12007-07-03 11:55:03 +0200
committerblueswir12007-07-03 11:55:03 +0200
commitfda77c2d65d15ed35b01f60be37a17e2cd83bfe3 (patch)
tree6f94a971d48e84144666c6a31609848396085542 /hw/iommu.c
parentRetry interrupted open() calls (proposed by Yigael Felishman). (diff)
downloadqemu-fda77c2d65d15ed35b01f60be37a17e2cd83bfe3.tar.gz
qemu-fda77c2d65d15ed35b01f60be37a17e2cd83bfe3.tar.xz
qemu-fda77c2d65d15ed35b01f60be37a17e2cd83bfe3.zip
Fix loadvm
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3044 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/iommu.c')
-rw-r--r--hw/iommu.c2
1 files changed, 1 insertions, 1 deletions
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;