diff --git a/target/arm/cpu.h b/target/arm/cpu.h index eb804dffaa65e4f6badf69fa0bd7a74c109b7d04..387c028832bf361ba9f602e8e0bb00dfe1669764 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -912,7 +912,8 @@ struct ARMCPU { * QEMU_KVM_ARM_TARGET_NONE if the kernel doesn't support this CPU type. */ uint32_t kvm_target; - + +#ifdef CONFIG_KVM /* KVM init features for this CPU */ uint32_t kvm_init_features[7]; @@ -925,7 +926,7 @@ struct ARMCPU { /* KVM steal time */ OnOffAuto kvm_steal_time; - +#endif /* CONFIG_KVM */ /* Uniprocessor system with MP extensions */ bool mp_is_up;