On Tue, Nov 10, 2015 at 04:55:16PM +0000, Mark Rutland wrote: > I've been trying to test an EFI application on x86_64 using Ubuntu 14.04's > QEMU > 2.0.0. I have a directory 'foo' containing the application, and I get QEMU to > create a virtual FAT device: > > $ qemu-system-x86_64 -nographic \ > -bios src/edk2/Build/OvmfX64/RELEASE_GCC48/FV/OVMF.fd \ > -hda fat:foo > > However, I'm unable to access the root filesystem: > > UEFI Interactive Shell v2.1 > EDK II > UEFI v2.50 (EDK II, 0x00010000) > Mapping table > FS0: Alias(s):HD7a1:;BLK3: > PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(1,MBR,0xBE1AFDFA,0x3F,0xFBFC1) > BLK2: Alias(s): > PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0) > BLK4: Alias(s): > PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0) > BLK0: Alias(s): > PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0) > BLK1: Alias(s): > PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1) > Press ESC in 1 seconds to skip startup.nsh or any other key to continue. > Shell> fs0: > FS0:\> dir > ls: File Not Found - 'FS0:\' > > With git, I bisected this down to the commit "OvmfPkg: enable SATA > controller". > > Any ideas as to what the problem could be? > I also encountered the error before, and it only happened when I used '-bios' to specify the OVMF image. It never happened while using 'pflash'.
Cheers, Gary Lin > I don't have a newer qemu-system-x86_64 lying around, so I haven't been able > to > test with that. > > Thanks, > Mark. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel