diff options
| author | Corey Minyard <cminyard@mvista.com> | 2018-11-14 14:41:01 -0600 |
|---|---|---|
| committer | Corey Minyard <cminyard@mvista.com> | 2019-02-27 21:06:08 -0600 |
| commit | 7fccf2a06890e3bc3b30e29827ad3fb93fe88fea (patch) | |
| tree | 261155e3f4ebc1a6435d1e9ac82e3a9836c17122 /include/hw/boards.h | |
| parent | 8b38e532b58d9e314d95aa9845cc89243ee60acc (diff) | |
| download | focaccia-qemu-7fccf2a06890e3bc3b30e29827ad3fb93fe88fea.tar.gz focaccia-qemu-7fccf2a06890e3bc3b30e29827ad3fb93fe88fea.zip | |
boards.h: Ignore migration for SMBus devices on older machines
Migration capability is being added for pm_smbus and SMBus devices. This change will allow backwards compatibility to be kept when migrating back to an old qemu version. Add a bool to the machine class tho keep smbus migration from happening. Future changes will use this. Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
| -rw-r--r-- | include/hw/boards.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 05f9f45c3d..21212f0859 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -206,6 +206,7 @@ struct MachineClass { void (*numa_auto_assign_ram)(MachineClass *mc, NodeInfo *nodes, int nb_nodes, ram_addr_t size); bool ignore_boot_device_suffixes; + bool smbus_no_migration_support; HotplugHandler *(*get_hotplug_handler)(MachineState *machine, DeviceState *dev); |