Set initial value of AFSR register properly.
Index: hw/iommu.c =================================================================== RCS file: /sources/qemu/qemu/hw/iommu.c,v retrieving revision 1.19 diff -p -u -r1.19 iommu.c --- hw/iommu.c 17 Nov 2007 17:14:42 -0000 1.19 +++ hw/iommu.c 21 Nov 2007 04:30:28 -0000 @@ -311,6 +311,7 @@ static void iommu_reset(void *opaque) s->iostart = 0; s->regs[IOMMU_CTRL] = s->version; s->regs[IOMMU_ARBEN] = IOMMU_MID; + s->regs[IOMMU_AFSR] = 0x00800000; } void *iommu_init(target_phys_addr_t addr, uint32_t version)