summaryrefslogtreecommitdiffstats
path: root/include/hw/i386/x86.h
diff options
context:
space:
mode:
authorIgor Mammedov2022-02-28 14:16:34 +0100
committerMichael S. Tsirkin2022-03-06 11:08:23 +0100
commite6895f04c83e898873fa04c6ed87b094542d1a6d (patch)
tree692ec7159f8deb254101779af40af4f71c7945de /include/hw/i386/x86.h
parentvhost-vsock: detach the virqueue element in case of error (diff)
downloadqemu-e6895f04c83e898873fa04c6ed87b094542d1a6d.tar.gz
qemu-e6895f04c83e898873fa04c6ed87b094542d1a6d.tar.xz
qemu-e6895f04c83e898873fa04c6ed87b094542d1a6d.zip
x86: cleanup unused compat_apic_id_mode
commit f862ddbb1a4 (hw/i386: Remove the deprecated pc-1.x machine types) removed the last user of broken APIC ID compat knob, but compat_apic_id_mode itself was forgotten. Clean it up and simplify x86_cpu_apic_id_from_index() Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20220228131634.3389805-1-imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@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/x86.h')
-rw-r--r--include/hw/i386/x86.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/i386/x86.h b/include/hw/i386/x86.h
index a145a30370..916cc325ee 100644
--- a/include/hw/i386/x86.h
+++ b/include/hw/i386/x86.h
@@ -35,8 +35,6 @@ struct X86MachineClass {
/* TSC rate migration: */
bool save_tsc_khz;
- /* Enables contiguous-apic-ID mode */
- bool compat_apic_id_mode;
/* use DMA capable linuxboot option rom */
bool fwcfg_dma_enabled;
};