[edk2-devel] [PATCH V6 1/1] OvmfPkg: Enable TDX in ResetVector

James Bottomley jejb at linux.ibm.com
Sat Sep 18 12:15:00 UTC 2021


On Sat, 2021-09-18 at 06:30 -0500, Brijesh Singh wrote:
> On 9/18/21 12:16 AM, Xu, Min M wrote:
[...]
> > I usually do the development in windows and build the OVMF image
> > with VS2019.
> > If the new feature works, then I cherry-pick the patch-sets to code
> > base in ubuntu 18.04 and build/test the new feature.
> > 
> > The weird thing is that, with VS2019, even the OVMF image is built
> > from edk2-master, such image doesn't work on AMD SEV server either.
> > But if the image is built by Ubuntu 18.04, it does work on AMD SEV
> > server.
> 
> This seems very strange that we are failing to execute the hand
> written assembly code. I am wondering if somehow the VS compiler is
> generating a wrong byte code and thus causing a trap on KVM that
> requires emulation.

This theory should be verifiable by doing objdump on the windows binary
... can someone do that?

James




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80861): https://edk2.groups.io/g/devel/message/80861
Mute This Topic: https://groups.io/mt/85597386/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list