Browse Source
For confidential guests, bios image must be reinitialized upon reset. This is because bios memory is encrypted and hence once the old confidential kvm context is destroyed, it cannot be decrypted. It needs to be reinitilized. Towards that, this change refactors x86_bios_rom_init() code so that parts of it can be called during confidential guest reset. No functional chnage. Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Ani Sinha <anisinha@redhat.com> Link: https://lore.kernel.org/r/20260225035000.385950-13-anisinha@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>master
committed by
Paolo Bonzini
1 changed files with 37 additions and 13 deletions
Loading…
Reference in new issue