diff options
author | Eduardo Habkost | 2019-06-28 22:02:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2019-07-04 23:00:32 +0200 |
commit | 457cfcccdd107a968d106934df63b836b5dd743e (patch) | |
tree | 51eff5d14de776ab6490d72ca12dfbcae70631d4 /include/hw/i386 | |
parent | virtio: Don't change "started" flag on virtio_vmstate_change() (diff) | |
download | qemu-457cfcccdd107a968d106934df63b836b5dd743e.tar.gz qemu-457cfcccdd107a968d106934df63b836b5dd743e.tar.xz qemu-457cfcccdd107a968d106934df63b836b5dd743e.zip |
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>
Diffstat (limited to 'include/hw/i386')
-rw-r--r-- | include/hw/i386/pc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index c54cc54a47..853502f277 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -134,6 +134,9 @@ typedef struct PCMachineClass { /* use PVH to load kernels that support this feature */ bool pvh_enabled; + + /* Enables contiguous-apic-ID mode */ + bool compat_apic_id_mode; } PCMachineClass; #define TYPE_PC_MACHINE "generic-pc-machine" |