mbox series

[0/4] ppc: migration fixes for TCG

Message ID 1505054255-2990-1-git-send-email-mark.cave-ayland@ilande.co.uk
Headers show
Series ppc: migration fixes for TCG | expand

Message

Mark Cave-Ayland Sept. 10, 2017, 2:37 p.m. UTC
This is a rebase of my outstanding patches to fix migration for the Mac
g3beige and mac99 machines when using TCG. Some discussion on previous
versions of these patches can be found at:

https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg00544.html
https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg01114.html
https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg01489.html

With this patchset applied, I've been able to repeatedly execute
savevm/loadvm commands from the console when installing Darwin on g3beige
and whilst using MacOS 9.2 on mac99 with no apparent ill effects.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Mark Cave-Ayland (4):
  ppc: change CPUPPCState access_type from int to uint8_t
  ppc: add CPU IRQ state to PPC VMStateDescription
  ppc: add CPU access_type into the migration stream
  ppc: ensure we update the decrementer value during migration

 target/ppc/cpu.h     |    4 ++--
 target/ppc/machine.c |   14 +++++++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)