diff options
Diffstat (limited to 'hw/iommu.c')
-rw-r--r-- | hw/iommu.c | 2 |
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; |