i386: remove hyperv stuff in X86CPU

This commit is contained in:
Nguyen Anh Quynh 2020-06-13 11:27:22 +08:00
parent 5b3a27721e
commit 297a78990d
3 changed files with 0 additions and 7 deletions

View File

@ -28,8 +28,6 @@
*/
MemoryRegion *get_system_memory(struct uc_struct *uc);
extern AddressSpace address_space_memory;
#endif
#endif

View File

@ -67,10 +67,6 @@ typedef struct X86CPU {
CPUX86State env;
bool hyperv_vapic;
bool hyperv_relaxed_timing;
int hyperv_spinlock_attempts;
bool hyperv_time;
bool check_cpuid;
bool enforce_cpuid;
bool host_features;

View File

@ -1868,7 +1868,6 @@ static void x86_cpu_initfn(struct uc_struct *uc, CPUState *obj, void *opaque)
cs->env_ptr = env;
cpu_exec_init(env, opaque);
cpu->hyperv_spinlock_attempts = HYPERV_SPINLOCK_NEVER_RETRY;
env->cpuid_apic_id = x86_cpu_apic_id_from_index(cs->cpu_index);
x86_cpu_load_def(cpu, xcc->cpu_def);