qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/26] VMState: port several pc devices to vmstate
@ 2009-09-10  1:04 Juan Quintela
  2009-09-10  1:04 ` [Qemu-devel] [PATCH 01/26] ram: remove support for loading v1 Juan Quintela
                   ` (25 more replies)
  0 siblings, 26 replies; 62+ messages in thread
From: Juan Quintela @ 2009-09-10  1:04 UTC (permalink / raw)
  To: qemu-devel

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(-)

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

end of thread, other threads:[~2009-11-09 16:29 UTC | newest]

Thread overview: 62+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10  1:04 [Qemu-devel] [PATCH 00/26] VMState: port several pc devices to vmstate Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 01/26] ram: remove support for loading v1 Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 02/26] ram: Remove SaveVM Version 2 support Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 03/26] Remove SaveVM v2 support Juan Quintela
2009-09-10 17:41   ` Stefano Stabellini
2009-09-10 17:43     ` [Qemu-devel] " Juan Quintela
2009-09-10 18:15       ` Stefano Stabellini
2009-09-10 18:22         ` Anthony Liguori
2009-09-11 14:05           ` Stefano Stabellini
2009-09-11 14:28             ` Juan Quintela
2009-09-11 15:32               ` Stefano Stabellini
2009-09-11 15:37                 ` Anthony Liguori
2009-09-11 15:48                 ` Juan Quintela
2009-09-11 17:59                   ` Stefano Stabellini
2009-09-17 11:40                   ` Stefano Stabellini
2009-09-10  1:04 ` [Qemu-devel] [PATCH 04/26] timers: remove useless check Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 05/26] Unexport ticks_per_sec variable. Create get_ticks_per_sec() function Juan Quintela
2009-09-10  1:20   ` malc
2009-09-10  1:57     ` [Qemu-devel] " Juan Quintela
2009-09-10  2:21       ` malc
2009-09-10 16:44         ` Juan Quintela
2009-09-10 17:02           ` malc
2009-09-10 17:38             ` Anthony Liguori
2009-09-10 21:31               ` malc
2009-09-10 22:08                 ` Anthony Liguori
2009-09-10 23:10                   ` malc
2009-09-10 23:33                     ` Juan Quintela
2009-09-11  5:49                     ` Amit Shah
2009-09-11 13:00                     ` Markus Armbruster
2009-09-11 15:34                     ` Anthony Liguori
2009-09-11 15:55                       ` Juan Quintela
2009-09-11 15:58                       ` Jan Kiszka
2009-11-09 16:29                       ` Paul Brook
2009-09-10 17:39             ` Juan Quintela
2009-09-10 22:16               ` Paolo Bonzini
2009-09-10 23:11                 ` malc
2009-09-11  9:04   ` Jan Kiszka
2009-09-11  9:31     ` Juan Quintela
2009-09-11  9:37       ` Jan Kiszka
2009-09-11 10:15         ` Juan Quintela
2009-09-11 10:26           ` Jan Kiszka
2009-09-10  1:04 ` [Qemu-devel] [PATCH 06/26] timers: Createt TimersState and put all timers state there Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 07/26] timers: move them to VMState Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 08/26] vmstate: add sensible arguments to vmstate_unregister() Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 09/26] vmstate: rename run_after_load() -> post_load() Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 10/26] vmstate: Add pre_load() hook Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 11/26] vmstate: Add pre/post_save() hooks Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 12/26] vmstate: port cpu_comon Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 13/26] vmstate: port fw_cfg device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 14/26] vmstate: port i8259 device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 15/26] vmstate: add support for uint8_t equal Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 16/26] vmstate: port fdc device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 17/26] vmstate: add support for arrays of uint16_t Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 18/26] vmstate: port dma device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 19/26] vmstate: port vmmouse device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 20/26] vmstate: port pckbd device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 21/26] vmstate: add uint64 array support Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 22/26] vmstate: port ioapic device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 23/26] hpet: it is imposible that qemu_timer field is NULL at this point Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 24/26] vmstate: port hpet device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 25/26] vmstate: port serial device Juan Quintela
2009-09-10  1:04 ` [Qemu-devel] [PATCH 26/26] vmstate: port cirrus_vga device Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).