diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-06-28 17:02:27 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-04 17:00:32 -0400 |
commit | 457cfcccdd107a968d106934df63b836b5dd743e (patch) | |
tree | 51eff5d14de776ab6490d72ca12dfbcae70631d4 /include/hw/i386 | |
parent | 4c5cf37b504b1444b031d5c9af6b6ad2f171d006 (diff) | |
download | qemu-457cfcccdd107a968d106934df63b836b5dd743e.zip qemu-457cfcccdd107a968d106934df63b836b5dd743e.tar.gz qemu-457cfcccdd107a968d106934df63b836b5dd743e.tar.bz2 |
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 c54cc54..853502f 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" |