Re: [PATCH 1/6] KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA

From: Paolo Bonzini
Date: Thu Jul 08 2021 - 13:27:31 EST


On 07/07/21 12:28, Maxim Levitsky wrote:
Minor nitpick: I would have checked the host provided value as well,
just in case since there is no reason why it won't pass the same check,
and fail if the value is not aligned.

The reason not to do so is that it would allow a guest running an old kernel to defeat live migration.

Paolo

Other than that:
Reviewed-by: Maxim Levitsky<mlevitsk@xxxxxxxxxx>