Re: [Xen-devel] [PATCH v14 10/11] x86/hvm: Remove redundant save functions

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 15:32, wrote: > On Ma, 2018-07-31 at 07:24 -0600, Jan Beulich wrote: >> > > > On 25.07.18 at 14:14, wrote: >> > --- a/xen/arch/x86/hvm/hpet.c >> > +++ b/xen/arch/x86/hvm/hpet.c >> > @@ -516,8 +516,9 @@ static const struct hvm_mmio_ops hpet_mmio_ops >> > = { >> > }; >> > >>

Re: [Xen-devel] [PATCH v14 10/11] x86/hvm: Remove redundant save functions

2018-07-31 Thread Isaila Alexandru
On Ma, 2018-07-31 at 07:24 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 25.07.18 at 14:14, wrote: > > --- a/xen/arch/x86/hvm/hpet.c > > +++ b/xen/arch/x86/hvm/hpet.c > > @@ -516,8 +516,9 @@ static const struct hvm_mmio_ops hpet_mmio_ops > > = { > >  }; > >   > >   > > -static int

Re: [Xen-devel] [PATCH v14 10/11] x86/hvm: Remove redundant save functions

2018-07-31 Thread Jan Beulich
>>> On 25.07.18 at 14:14, wrote: > --- a/xen/arch/x86/hvm/hpet.c > +++ b/xen/arch/x86/hvm/hpet.c > @@ -516,8 +516,9 @@ static const struct hvm_mmio_ops hpet_mmio_ops = { > }; > > > -static int hpet_save(struct domain *d, hvm_domain_context_t *h) > +static int hpet_save(struct vcpu *vcpu,

[Xen-devel] [PATCH v14 10/11] x86/hvm: Remove redundant save functions

2018-07-25 Thread Alexandru Isaila
This patch removes the redundant save functions and renames the save_one* to save. It then changes the domain param to vcpu in the save funcs. Signed-off-by: Alexandru Isaila --- Changes since V11: - Remove enum return type for save funcs. --- xen/arch/x86/cpu/mcheck/vmce.c | 19