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

Re: [Xen-devel] [PATCH v13 02/11] x86/hvm: Introduce hvm_save_tsc_adjust_one() func



>>> On 19.07.18 at 16:08, <aisaila@xxxxxxxxxxxxxxx> wrote:
> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -740,16 +740,23 @@ void hvm_domain_destroy(struct domain *d)
>      destroy_vpci_mmcfg(d);
>  }
>  
> +static int hvm_save_tsc_adjust_one(struct vcpu *v, hvm_domain_context_t *h)
> +{
> +    struct hvm_tsc_adjust ctxt = {};
> +
> +    ctxt.tsc_adjust = v->arch.hvm_vcpu.msr_tsc_adjust;

Considering earlier comments, why is this still not part of the
initializer?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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