Re: [Xen-devel] [PATCH v16 12/13] x86/hvm: Remove redundant save functions

2018-08-15 Thread Jan Beulich
>>> On 09.08.18 at 11:21, wrote: > @@ -148,6 +145,11 @@ int hvm_save_one(struct domain *d, unsigned int > typecode, unsigned int instance, > !hvm_sr_handlers[typecode].save ) > return -EINVAL; > > +if ( hvm_sr_handlers[typecode].kind == HVMSR_PER_VCPU && > +instan

[Xen-devel] [PATCH v16 12/13] x86/hvm: Remove redundant save functions

2018-08-09 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 V15: - Add if for hvm_sr_handlers[i].kind to separate HVMSR_PER_VCPU from HVMSR_PER_D