]> git.ipfire.org Git - thirdparty/qemu.git/commit
boards.h: Ignore migration for SMBus devices on older machines
authorCorey Minyard <cminyard@mvista.com>
Wed, 14 Nov 2018 20:41:01 +0000 (14:41 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (21:06 -0600)
commit7fccf2a06890e3bc3b30e29827ad3fb93fe88fea
tree261155e3f4ebc1a6435d1e9ac82e3a9836c17122
parent8b38e532b58d9e314d95aa9845cc89243ee60acc
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>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/boards.h