From 92067bf4bfa144ea3967a9951808f5e587bdab18 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Wed, 5 Jun 2013 15:18:40 +0200 Subject: target-i386: Move hyperv_* static globals to X86CPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - since hyperv_* helper functions are used only in target-i386/kvm.c move them there as static helpers Requested-by: Eduardo Habkost Signed-off-by: Igor Mammedov 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 53b4c3439b..c4447c2b6e 100644 --- a/target-i386/cpu-qom.h +++ b/target-i386/cpu-qom.h @@ -66,6 +66,10 @@ typedef struct X86CPU { CPUX86State env; + bool hyperv_vapic; + bool hyperv_relaxed_timing; + int hyperv_spinlock_attempts; + /* Features that were filtered out because of missing host capabilities */ uint32_t filtered_features[FEATURE_WORDS]; -- cgit v1.2.1