All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/7] ppc: loadvm/savevm fixups for -M g3beige and -M mac99
@ 2015-01-21 16:01 Mark Cave-Ayland
  2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 1/7] macio.c: include parent PCIDevice state in VMStateDescription Mark Cave-Ayland
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Mark Cave-Ayland @ 2015-01-21 16:01 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc, agraf

This patchset fixes up various bugs in loadvm/savevm for -M g3beige and
-M mac99 so that it is becomes possible to save and restore image snapshots.

The focus of this patchset is on -M g3beige since this matches the majority
of my test images, but there were some easy fixes to be made to -M mac99
at the same time.

With this patchset applied both -M g3beige and -M mac99 images can be
saved/restored whilst booted into OpenBIOS with no issues. I tested -M g3beige
with a paused, disk-inactive Darwin 6 image and was able to resume
successfully which was good enough for my needs.

I noticed some hangs can still occur when trying to restore an image
where the disk is active which makes me believe that there is still some
extra macio/dbdma state which needs to be included if someone is interested
enough to pursue this further.

Most of the patches are straightforward except for patch 4 which came out of
a discussion on-list between Alex and Paolo, and patch 5 which is a similar
error except this time for the MSR register. I suspect patch 5 can be
improved by someone with more PPC knowledge than myself.

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

v2:
- Minor subject line changes for patches 4+5
- Update patches 4+5 based upon feedback from Paolo
- Fix line width exceeding 80 characters in patch 2


Mark Cave-Ayland (7):
  macio.c: include parent PCIDevice state in VMStateDescription
  adb.c: include ADBDevice parent state in KBDState and MouseState
  cuda.c: include adb_poll_timer in VMStateDescription
  target-ppc: move sdr1 value change detection logic to
    helper_store_sdr1()
  target-ppc: force update of msr bits in cpu_post_load
  openpic: fix segfault on -M mac99 savevm
  openpic: fix up loadvm under -M mac99

 hw/input/adb.c           |   22 ++++++++++++++++++----
 hw/intc/openpic.c        |   10 ++++------
 hw/misc/macio/cuda.c     |    5 +++--
 hw/misc/macio/macio.c    |   24 ++++++++++++++++++++++++
 target-ppc/machine.c     |    8 +++++++-
 target-ppc/misc_helper.c |    7 ++++++-
 target-ppc/mmu_helper.c  |   35 +++++++++++++++--------------------
 7 files changed, 77 insertions(+), 34 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-01-26 22:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 16:01 [Qemu-devel] [PATCHv2 0/7] ppc: loadvm/savevm fixups for -M g3beige and -M mac99 Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 1/7] macio.c: include parent PCIDevice state in VMStateDescription Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 2/7] adb.c: include ADBDevice parent state in KBDState and MouseState Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 3/7] cuda.c: include adb_poll_timer in VMStateDescription Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 4/7] target-ppc: move sdr1 value change detection logic to helper_store_sdr1() Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 5/7] target-ppc: force update of msr bits in cpu_post_load Mark Cave-Ayland
2015-01-22 13:37   ` Alexander Graf
2015-01-26 21:41     ` Mark Cave-Ayland
2015-01-26 21:49       ` Alexander Graf
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 6/7] openpic: fix segfault on -M mac99 savevm Mark Cave-Ayland
2015-01-21 16:01 ` [Qemu-devel] [PATCHv2 7/7] openpic: fix up loadvm under -M mac99 Mark Cave-Ayland
2015-01-22 13:39   ` Alexander Graf
2015-01-26 22:13     ` Mark Cave-Ayland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.