diff --git a/target-i386/cpu.c b/target-i386/cpu.c index f3cac49fd386eae0481760c8f7d325cdb9f38e18..423e00905d0907acecd6b2d87a71706f922b9602 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -33,7 +33,9 @@ #include "hyperv.h" #include "hw/hw.h" +#if defined(CONFIG_KVM) #include +#endif /* feature flags taken from "Intel Processor Identification and the CPUID * Instruction" and AMD's "CPUID Specification". In cases of disagreement