i386: remove hyperv stuff in X86CPU
This commit is contained in:
parent
5b3a27721e
commit
297a78990d
@ -28,8 +28,6 @@
|
||||
*/
|
||||
MemoryRegion *get_system_memory(struct uc_struct *uc);
|
||||
|
||||
extern AddressSpace address_space_memory;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user