aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu-qom.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2014-12-18 23:20:10 -0200
committerEduardo Habkost <ehabkost@redhat.com>2015-02-25 15:00:07 -0300
commit9e9d3863adcbd1ffeca30f240f49805b00ba0d87 (patch)
tree5d62dff4725fea50e138e64c13afd17a3a394f44 /target-i386/cpu-qom.h
parent18b0e4e77142ace948497a053bd5b56c1b849592 (diff)
downloadqemu-9e9d3863adcbd1ffeca30f240f49805b00ba0d87.zip
qemu-9e9d3863adcbd1ffeca30f240f49805b00ba0d87.tar.gz
qemu-9e9d3863adcbd1ffeca30f240f49805b00ba0d87.tar.bz2
target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id
The field doesn't need to be inside CPUState, and it is not specific for the CPUID instruction, so move and rename it. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/cpu-qom.h')
-rw-r--r--target-i386/cpu-qom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/cpu-qom.h b/target-i386/cpu-qom.h
index b557b61..4a6f48a 100644
--- a/target-i386/cpu-qom.h
+++ b/target-i386/cpu-qom.h
@@ -93,6 +93,7 @@ typedef struct X86CPU {
bool expose_kvm;
bool migratable;
bool host_features;
+ uint32_t apic_id;
/* if true the CPUID code directly forward host cache leaves to the guest */
bool cache_info_passthrough;