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 <kra...@redhat.com> > > Tested-by: Xiaoyao Li <xiaoyao...@intel.com> > > --- > > hw/i386/x86.c | 25 +++++++++++++++++++------ > > 1 file changed, 19 insertions(+), 6 deletions(-) > > Reviewed-by: Daniel P. Berrangé <berra...@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é <berra...@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