Re: [PATCH v2 2/5] x86/HVM: split restore state checking from state loading

2023-11-22 Thread Jan Beulich
On 21.11.2023 23:08, Andrew Cooper wrote: > On 16/11/2023 1:46 pm, Jan Beulich wrote: >> ..., at least as reasonably feasible without making a check hook >> mandatory (in particular strict vs relaxed/zero-extend length checking >> can't be done early this way). >> >> Note that only one of the two u

Re: [PATCH v2 2/5] x86/HVM: split restore state checking from state loading

2023-11-21 Thread Andrew Cooper
On 16/11/2023 1:46 pm, Jan Beulich wrote: > ..., at least as reasonably feasible without making a check hook > mandatory (in particular strict vs relaxed/zero-extend length checking > can't be done early this way). > > Note that only one of the two uses of hvm_load() is accompanied with > hvm_check

[PATCH v2 2/5] x86/HVM: split restore state checking from state loading

2023-11-16 Thread Jan Beulich
..., at least as reasonably feasible without making a check hook mandatory (in particular strict vs relaxed/zero-extend length checking can't be done early this way). Note that only one of the two uses of hvm_load() is accompanied with hvm_check(). The other directly consumes hvm_save() output, wh