summaryrefslogtreecommitdiff
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-03-09 16:30:03 -0300
commit7e72a45c99fccfe5586d7c4e2f7441f28e24e450 (patch)
treec082b899a23226d90af06b4301b76cc82c7b593c /target-i386/cpu-qom.h
parent0f4b210e504d7db42b96882e94481f444e420fe3 (diff)
downloadqemu-7e72a45c99fccfe5586d7c4e2f7441f28e24e450.tar.gz
target-i386: Move CPUX86State::cpuid_apic_id to X86CPU::apic_id
The field doesn't need to be inside CPUX86State, and it is not specific for the CPUID instruction, so move and rename it. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> 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 b557b619cf..4a6f48a8db 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;