Hi all, this is the fifth version of the Xen save/restore patch series. We have been discussing this issue for quite a while on #qemu and qemu-devel:
http://marc.info/?l=qemu-devel&m=132346828427314&w=2 http://marc.info/?l=qemu-devel&m=132377734605464&w=2 Please review the first three patches that touch generic code. This patch series have been lying around for quite a while and it is now blocking patches from getting in xen-unstable. Changes in v5: - rebased on b4bd0b168e9f4898b98308f4a8a089f647a86d16. Changes in v4: - following Anthony's suggestion I have introduced a new monitor command to save the non-ram device state to file; - I have also removed the hack not to reset the cirrus videoram on restore, because it turns out that the videoram doesn't need to be reset in the reset handler at all (tested on Win2K, where the problem was found in the first place). This is the list of patches with a diffstat: Anthony PERARD (2): xen mapcache: check if memory region has moved. xen: do not allocate RAM during INMIGRATE runstate Stefano Stabellini (4): cirrus_vga: do not reset videoram Introduce "save_devices" xen: record physmap changes to xenstore Set runstate to INMIGRATE earlier block-migration.c | 2 +- hmp-commands.hx | 14 +++++++ hw/cirrus_vga.c | 4 -- qmp-commands.hx | 17 +++++++++ savevm.c | 72 ++++++++++++++++++++++++++++++++++++- sysemu.h | 1 + vl.c | 4 +- vmstate.h | 1 + xen-all.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++- xen-mapcache.c | 22 ++++++++++-- xen-mapcache.h | 9 ++++- 11 files changed, 235 insertions(+), 15 deletions(-) git://xenbits.xen.org/people/sstabellini/qemu-dm.git saverestore-5 Cheers, Stefano