qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 00/26] VMState: port several pc devices to vmstate


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 00/26] VMState: port several pc devices to vmstate
Date: Thu, 10 Sep 2009 03:04:21 +0200

This series:
- remove support for RAM v1 and v2 (I created an image with latest qemu
  before switching to RAM v3 and try to load with current qemu).
  It don't work (physical_ram_size value has changed), and it don't work
  since at least April).  I went to that commit, and after fixing RAM,
  ide didn't load, and vga screen got corrupted).
- Remove SaveVM v2 support.  This support is older than then switch to RAMv3,
  if you can't load RAM -> you can't load any image in any meaningful way.
- port several devices to vmstate.
- To port timers, I have to move ticks_per_sec in an accessor function
  patch is quite big, but it is trivial.

Devices left to have my minimal pc using only vmstate:
- cpu (dragons here, this is huge and has all special cases that you can think)
- ide: medium size, identiyfy_data that can/can't be there is the
  more complicated thing.
- virtio-net: more dragons here, we need a nice way to split virtio & virtio-pci
  just now their relation is too incestuous.
- mc146818rtc: See my other RFC mail about changing how rtc-td-hack is handled
  during save/load.

I guess that I missed some device, but this is one start.

Later, Juan.

Juan Quintela (26):
  ram: remove support for loading v1
  ram: Remove SaveVM Version 2 support
  Remove SaveVM v2 support
  timers: remove useless check
  Unexport ticks_per_sec variable.  Create get_ticks_per_sec() function
  timers: Createt TimersState and put all timers state there
  timers: move them to VMState
  vmstate: add sensible arguments to vmstate_unregister()
  vmstate: rename run_after_load() -> post_load()
  vmstate: Add pre_load() hook
  vmstate: Add pre/post_save() hooks
  vmstate: port cpu_comon
  vmstate: port fw_cfg device
  vmstate: port i8259 device
  vmstate: add support for uint8_t equal
  vmstate: port fdc device
  vmstate: add support for arrays of uint16_t
  vmstate: port dma device
  vmstate: port vmmouse device
  vmstate: port pckbd device
  vmstate: add uint64 array support
  vmstate: port ioapic device
  hpet: it is imposible that qemu_timer field is NULL at this point
  vmstate: port hpet device
  vmstate: port serial device
  vmstate: port cirrus_vga device

 audio/audio.c        |    2 +-
 audio/noaudio.c      |    4 +-
 audio/wavaudio.c     |    2 +-
 exec.c               |   39 ++++++---
 hw/acpi.c            |   13 ++--
 hw/adlib.c           |    2 +-
 hw/baum.c            |    3 +-
 hw/bt-hci-csr.c      |    4 +-
 hw/bt-hci.c          |    4 +-
 hw/cirrus_vga.c      |  152 ++++++++++++---------------------
 hw/cuda.c            |   14 ++--
 hw/dma.c             |   85 +++++++-----------
 hw/dp8393x.c         |    2 +-
 hw/fdc.c             |  156 +++++++++++++--------------------
 hw/fw_cfg.c          |   33 +++-----
 hw/hpet.c            |   77 ++++++++--------
 hw/hw.h              |   32 +++++++-
 hw/i8254.c           |   14 ++-
 hw/i8259.c           |   77 ++++++-----------
 hw/ide/core.c        |    2 +-
 hw/ioapic.c          |   39 +++------
 hw/mc146818rtc.c     |   16 ++--
 hw/mips_timer.c      |   10 +-
 hw/omap1.c           |   16 ++--
 hw/omap2.c           |    4 +-
 hw/pckbd.c           |   41 ++++------
 hw/pcnet.c           |    2 +-
 hw/pflash_cfi02.c    |    4 +-
 hw/piix_pci.c        |    4 +-
 hw/pl031.c           |    6 +-
 hw/ppc.c             |   18 ++--
 hw/ppc405_uc.c       |    4 +-
 hw/pxa2xx_timer.c    |   14 ++--
 hw/rc4030.c          |    3 +-
 hw/rtl8139.c         |    5 +-
 hw/sb16.c            |    4 +-
 hw/serial.c          |   79 +++++++++--------
 hw/slavio_intctl.c   |    4 +-
 hw/spitz.c           |    3 +-
 hw/stellaris.c       |    2 +-
 hw/tcx.c             |    4 +-
 hw/tsc2005.c         |    2 +-
 hw/tsc210x.c         |    2 +-
 hw/tusb6010.c        |    4 +-
 hw/usb-musb.c        |    2 +-
 hw/usb-ohci.c        |   10 +-
 hw/usb-uhci.c        |    2 +-
 hw/vga.c             |    6 +-
 hw/vmmouse.c         |   48 ++++------
 hw/wdt_i6300esb.c    |    2 +-
 hw/wdt_ib700.c       |    2 +-
 monitor.c            |    6 +-
 net.c                |    2 +-
 qemu-timer.h         |    2 +-
 savevm.c             |   94 ++++++++++----------
 target-ppc/kvm_ppc.c |    2 +-
 vl.c                 |  235 +++++++++++---------------------------------------
 57 files changed, 590 insertions(+), 830 deletions(-)





reply via email to

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