]> git.proxmox.com Git - mirror_qemu.git/commit - cpus.c
migration: Use normal VMStateDescriptions for Subsections
authorJuan Quintela <quintela@redhat.com>
Tue, 23 Sep 2014 12:09:54 +0000 (14:09 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 12 Jun 2015 04:53:57 +0000 (06:53 +0200)
commit5cd8cadae8db905afcbf877cae568c27d1d55a8a
treed6932290619f414a963ffb2a330e42bda1437492
parent0163a2e025cda6acb33e100d296965671ace17d9
migration: Use normal VMStateDescriptions for Subsections

We create optional sections with this patch.  But we already have
optional subsections.  Instead of having two mechanism that do the
same, we can just generalize it.

For subsections we just change:

- Add a needed function to VMStateDescription
- Remove VMStateSubsection (after removal of the needed function
  it is just a VMStateDescription)
- Adjust the whole tree, moving the needed function to the corresponding
  VMStateDescription

Signed-off-by: Juan Quintela <quintela@redhat.com>
32 files changed:
cpus.c
docs/migration.txt
exec.c
hw/acpi/ich9.c
hw/acpi/piix4.c
hw/block/fdc.c
hw/char/serial.c
hw/display/qxl.c
hw/display/vga.c
hw/ide/core.c
hw/ide/pci.c
hw/input/pckbd.c
hw/input/ps2.c
hw/intc/apic_common.c
hw/isa/lpc_ich9.c
hw/net/e1000.c
hw/net/rtl8139.c
hw/net/vmxnet3.c
hw/pci-host/piix.c
hw/scsi/scsi-bus.c
hw/timer/hpet.c
hw/timer/mc146818rtc.c
hw/usb/hcd-ohci.c
hw/usb/redirect.c
hw/virtio/virtio.c
include/migration/vmstate.h
migration/savevm.c
migration/vmstate.c
target-arm/machine.c
target-i386/machine.c
target-ppc/machine.c
target-s390x/machine.c