diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 970093e6b593b6d9b974de9cffcee04e7ac4dfa7..1cb09e7c64829b35f6b15713b9e4645905de6bd1 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1827,7 +1827,7 @@ static int htab_save_iterate(QEMUFile *f, void *opaque) /* Iteration header */ if (!spapr->htab_shift) { qemu_put_be32(f, -1); - return 0; + return 1; } else { qemu_put_be32(f, 0); }