On Tue, Aug 16, 2022, Zixuan Wang wrote: > Update the `x86/efi/README.md` with instructions to build and run > standalone test cases with UEFI. > > Signed-off-by: Zixuan Wang <zxwang@xxxxxx> > --- > x86/efi/README.md | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/x86/efi/README.md b/x86/efi/README.md > index aa1dbcd..f740225 100644 > --- a/x86/efi/README.md > +++ b/x86/efi/README.md > @@ -30,6 +30,16 @@ the env variable `EFI_UEFI`: > > EFI_UEFI=/path/to/OVMF.fd ./x86/efi/run ./x86/msr.efi > > +### Build and standalone test cases with UEFI s/and// ? > + > +To build: > + > + ./configure --enable-efi > + make standalone > + (send tests/some-test somewhere) > + (go to somewhere) > + EFI_UEFI=/path/to/OVMF.fd ./some-test This makes me wonder if the scripts should try to locate OVMF.fd, same as they do for QEMU. It's odd that specifying QEMU is optional, but for EFI_UEFI it's mandatory.