[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] target-mips: port MIPS CPU to VMState

From: Leon Alrae
Subject: [Qemu-devel] [PATCH v2 0/2] target-mips: port MIPS CPU to VMState
Date: Fri, 20 Feb 2015 13:07:43 +0000


This small patchset converts MIPS CPU to use VMStateDescription:
[1/2]: ports all the MIPS CPU fields to new VMStateDescription structure
[2/2]: adds MSACSR and uses post_load() to restore *fp_status from *CSR
       registers. These changes include ported Maciej's updates made for old
       cpu_load/cpu_save sent some time ago.

I tested them by just checking whether the restored guest system still works
after savevm/loadvm and migrate commands.

This series applies on top of the pending mips-next pull request:

Comments and suggestions are welcome.


* use cc->vmsd rather than dc->vmsd (Andreas Faerber)
* avoid saving TCG-related state (Richard Henderson)

Leon Alrae (2):
  target-mips: replace cpu_save/cpu_load with VMStateDescription
  target-mips: add missing MSACSR and restore fp_status and hflags

 target-mips/cpu-qom.h        |   4 +
 target-mips/cpu.c            |   1 +
 target-mips/cpu.h            |  19 +-
 target-mips/machine.c        | 571 ++++++++++++++++++++-----------------------
 target-mips/msa_helper.c     |  12 +-
 target-mips/translate_init.c |  10 +-
 6 files changed, 288 insertions(+), 329 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]