search for: msr_tsc_aux

Displaying 3 results from an estimated 3 matches for "msr_tsc_aux".

2012 Sep 20
1
[PATCH 2/3] Implement tsc adjust feature
...vm_vcpu.msr_tsc_adjust; +} + void hvm_migrate_timers(struct vcpu *v) { rtc_migrate_timers(v); @@ -2776,6 +2795,10 @@ *msr_content = hvm_get_guest_tsc(v); break; + case MSR_IA32_TSC_ADJUST: + *msr_content = hvm_get_guest_tsc_adjust(v); + break; + case MSR_TSC_AUX: *msr_content = hvm_msr_tsc_aux(v); break; @@ -2889,6 +2912,10 @@ hvm_set_guest_tsc(v, msr_content); break; + case MSR_IA32_TSC_ADJUST: + hvm_set_guest_tsc_adjust(v, msr_content); + break; + case MSR_TSC_AUX: v->arch.hvm_vcpu.m...
2013 Jan 23
1
[PATCH V2] libxc, libxenstore: make the headers C++-friendlier
...hvm_hw_cpu_compat *old = (struct hvm_hw_cpu_compat *)h; /* If we copy from the end backwards, we should * be able to do the modification in-place */ - new->error_code=old->error_code; - new->pending_event=old->pending_event; - new->tsc=old->tsc; - new->msr_tsc_aux=0; + newcpu->error_code = old->error_code; + newcpu->pending_event = old->pending_event; + newcpu->tsc = old->tsc; + newcpu->msr_tsc_aux = 0; return 0; }
2013 Jan 23
1
[PATCH V3] libxc, libxenstore: make the headers C++-friendlier
...on hvm_hw_cpu_union *ucpu = (union hvm_hw_cpu_union *)h; - /* If we copy from the end backwards, we should - * be able to do the modification in-place */ - new->error_code=old->error_code; - new->pending_event=old->pending_event; - new->tsc=old->tsc; - new->msr_tsc_aux=0; + ucpu->nat.error_code = ucpu->cmp.error_code; + ucpu->nat.pending_event = ucpu->cmp.pending_event; + ucpu->nat.tsc = ucpu->cmp.tsc; + ucpu->nat.msr_tsc_aux = 0; return 0; }