[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] i386: firmware parsing and sev setup for -bios loaded fi
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 3/3] i386: firmware parsing and sev setup for -bios loaded firmware |
Date: |
Thu, 31 Mar 2022 15:44:23 +0200 |
On Thu, Mar 31, 2022 at 02:10:04PM +0100, Daniel P. Berrangé wrote:
> On Thu, Mar 31, 2022 at 10:35:49AM +0200, Gerd Hoffmann wrote:
> > Don't register firmware as rom, not needed (see comment).
> > Add x86_firmware_configure() call for proper sev initialization.
> >
> > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> > Tested-by: Xiaoyao Li <xiaoyao.li@intel.com>
> > ---
> > hw/i386/x86.c | 25 +++++++++++++++++++------
> > 1 file changed, 19 insertions(+), 6 deletions(-)
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
> I validated that I could validate the measurement of a SEV
> guest with -bios, and see the firmware start at least.
>
> Tested-by: Daniel P. Berrangé <berrange@redhat.com>
Nice.
With that in place we should be pretty close to get sev going with
microvm. Probably needs revert of edk2 commit 06fa1f1931e9
("OvmfPkg/Microvm: no sev"), with some luck direct kernel boot works
without that though.
take care,
Gerd