>>> On 31.12.15 at 04:03, <haozhong.zh...@intel.com> wrote: > @@ -854,6 +841,7 @@ static void svm_set_tsc_offset(struct vcpu *v, u64 > offset, u64 at_tsc) > n2_tsc_offset = vmcb_get_tsc_offset(n2vmcb) - > vmcb_get_tsc_offset(n1vmcb); > if ( svm->ns_tscratio != DEFAULT_TSC_RATIO ) { > + uint64_t guest_tsc = hvm_get_guest_tsc_fixed(v, at_tsc); > n2_tsc_offset = svm_get_tsc_offset(guest_tsc,
Blank line between declaration(s) and statement(s) please. Also please consider taking the opportunity to fix the preceding line's coding style violation. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel