From 02e51483341a371b508c1a529782d83064c93596 Mon Sep 17 00:00:00 2001 From: Chen Fan Date: Mon, 23 Dec 2013 17:04:02 +0800 Subject: target-i386: Move apic_state field from CPUX86State to X86CPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This motion is preparing for refactoring vCPU APIC subsequently. Signed-off-by: Chen Fan Signed-off-by: Andreas Färber --- target-i386/cpu-qom.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target-i386/cpu-qom.h') diff --git a/target-i386/cpu-qom.h b/target-i386/cpu-qom.h index f4fab155bd..dbe3e29b6f 100644 --- a/target-i386/cpu-qom.h +++ b/target-i386/cpu-qom.h @@ -82,6 +82,10 @@ typedef struct X86CPU { * capabilities) directly to the guest. */ bool enable_pmu; + + /* in order to simplify APIC support, we leave this pointer to the + user */ + struct DeviceState *apic_state; } X86CPU; static inline X86CPU *x86_env_get_cpu(CPUX86State *env) -- cgit v1.2.3