]> git.proxmox.com Git - mirror_qemu.git/commit
pc: Move compat_apic_id_mode variable to PCMachineClass
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 28 Jun 2019 20:02:27 +0000 (17:02 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2019 21:00:32 +0000 (17:00 -0400)
commit457cfcccdd107a968d106934df63b836b5dd743e
tree51eff5d14de776ab6490d72ca12dfbcae70631d4
parent4c5cf37b504b1444b031d5c9af6b6ad2f171d006
pc: Move compat_apic_id_mode variable to PCMachineClass

Replace the static variable with a PCMachineClass field.  This
will help us eventually get rid of the pc_compat_*() init
functions.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190628200227.1053-1-ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
include/hw/i386/pc.h