[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 05/13] svm: Remove redundant TSC scaling in svm_set_tsc_offset()



>>> On 31.12.15 at 04:03, <haozhong.zhang@xxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.