Hi Dionna,
Thanks for updating the tree, builds nicely now! However the VM's kernel
does not boot - the guest kernel reports
EFI stub: ERROR: exit_boot() failed!
and hangs. I am not quite sure how it is supposed to work (still
learning) but "Accepting all memory" happens twice (should it?) and the
actual reason for the CoreExitBootService() failure is that MapKey !=
mMemoryMapKey in CoreTerminateMemoryMap(), these are 0x7AD7 vs 0x7AD9
or 0x7AE1 vs 0x7AE3 (the diff is always 2).
How do you test it exactly, is there any command line change needed in
addition to enabling SNP?
My guest kernel uses
https://patchew.org/linux/cover.1664298261.git.thomas.lenda...@amd.com/
with the TDX prerequisite. Thanks,
On 25/10/2022 02:24, Dionna Amalie Glaze wrote:
Hey!
Sorry if this was asked. I was wondering if this patchset is in some git repo
which I pull from as I struggle to get a buildable tree by applying this
patchset to whatever I can find.
I tried https://github.com/deeglaze/edk2.git enable_umv7 but it does not
build (missing ExitBootServicesCallback.h and PrePiHob.h).
I tried rebasing it on top of https://github.com/mxu9/edk2.git
lazyaccept.v1/2/3/4 but it seems only v1 kinda works but see the above and
other versions have some reworks (EFI_RESOURCE_MEMORY_UNACCEPTED vs.
BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED.
Thanks!
Oh that would be because I forgot to git add those files (it built on
my machine TM). The callback.h file is from a previous version of this
series that can be removed. PrePiHob.h is from a lazy accept patch,
"MdePkg: Add UEFI Unaccepted memory definition". I can send out a v8
that removes the unnecessary #include and changes the names to those
suggested in the 3987 bug. I'll fix my github branch to include the
missing file.
Thanks for trying this patch series :)
--
Alexey
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#95576): https://edk2.groups.io/g/devel/message/95576
Mute This Topic: https://groups.io/mt/94144524/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-