Re: [PATCH 2/2] KVM: s390: Return last valid slot if approx index is out-of-bounds

From: Paolo Bonzini
Date: Wed Apr 08 2020 - 07:34:04 EST


On 08/04/20 12:21, Claudio Imbrenda wrote:
> on s390 memory always starts at 0; you can't even boot a system missing
> the first pages of physical memory, so this means this situation would
> never happen in practice.
>
> of course, a malicious userspace program could create an (unbootable) VM
> and trigger this bug, so the patch itself makes sense.
>
> Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>

What about using KVM just for isolation and not just to run a full-blown
OS (that is, you might even only have the guest run in problem state)?
Would that be feasible on s390?

Thanks,

Paolo