]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/stellaris.c
migration: Define VMSTATE_INSTANCE_ID_ANY
authorPeter Xu <peterx@redhat.com>
Wed, 16 Oct 2019 02:29:30 +0000 (10:29 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:23 +0000 (09:10 +0100)
commit1df2c9a26fcb2fa32d099f8e9adcdae4207872e3
tree1a970b94d94b70bad869dd4103961e2c7cd76b60
parent8bba004ccabd0d71e8b5ca056e576d2737c17305
migration: Define VMSTATE_INSTANCE_ID_ANY

Define the new macro VMSTATE_INSTANCE_ID_ANY for callers who wants to
auto-generate the vmstate instance ID.  Previously it was hard coded
as -1 instead of this macro.  It helps to change this default value in
the follow up patches.  No functional change.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
15 files changed:
backends/dbus-vmstate.c
hw/arm/stellaris.c
hw/core/qdev.c
hw/display/ads7846.c
hw/i2c/core.c
hw/input/stellaris_input.c
hw/intc/apic_common.c
hw/misc/max111x.c
hw/net/eepro100.c
hw/pci/pci.c
hw/ppc/spapr.c
hw/timer/arm_timer.c
hw/tpm/tpm_emulator.c
include/migration/vmstate.h
migration/savevm.c