summaryrefslogtreecommitdiff
path: root/hw/iommu.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-03 09:55:03 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-03 09:55:03 +0000
commitfda77c2d65d15ed35b01f60be37a17e2cd83bfe3 (patch)
tree6f94a971d48e84144666c6a31609848396085542 /hw/iommu.c
parentaeb30be60a92148e38d47f79b6f566a47a8a6cbd (diff)
downloadqemu-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;