Re: [PATCH 1/2] kexec: Allow architecture code to opt-out at runtime
From: Joerg Roedel <hidden>
Date: 2021-05-06 18:24:08
Also in:
kexec, kvm, lkml, stable, virtualization
From: Joerg Roedel <hidden>
Date: 2021-05-06 18:24:08
Also in:
kexec, kvm, lkml, stable, virtualization
On Thu, May 06, 2021 at 03:43:23PM +0000, Sean Christopherson wrote:
This misses kexec_file_load.
Right, thanks, I will fix that in the next version.
Also, is a new hook really needed? E.g. the SEV-ES check be shoved into machine_kexec_prepare(). The downside is that we'd do a fair amount of work before detecting failure, but that doesn't seem hugely problematic.
That could work, but I think its more user-friendly to just claim that the syscalls are not supported at all. Regards, Joerg