]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/vof: Fix missed fields in VOF cleanup
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Aug 2023 04:19:44 +0000 (14:19 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 21 Sep 2023 16:35:19 +0000 (19:35 +0300)
commit6864f05cb167e384075488a3d96717b131536d25
treeb4ccbdb9aee3491b0dd102165e25dc96b3d191c3
parent0175121c6c54ee2cd568594d54001275712f309f
ppc/vof: Fix missed fields in VOF cleanup

Failing to reset the of_instance_last makes ihandle allocation continue
to increase, which causes record-replay replay fail to match the
recorded trace.

Not resetting claimed_base makes VOF eventually run out of memory after
some resets.

Cc: Alexey Kardashevskiy <aik@ozlabs.ru>
Fixes: fc8c745d501 ("spapr: Implement Open Firmware client interface")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
(cherry picked from commit 7b8589d7ce7e23f26ff53338d575a5cbd7818e28)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/ppc/vof.c