ionescu007 / VisualUefi

A project for allowing EDK-II Development with Visual Studio
480 stars 124 forks source link

Missing two QEMU files #10

Closed mcnameej closed 8 years ago

mcnameej commented 8 years ago

Tried to run QEMU and nothing happened. Then I noticed that it created a stderr.txt file, which contained:

Could not open option rom 'kvmvapic.bin': No such file or directory
qemu.exe: Initialization of device VGA failed: failed to find romfile "vgabios-stdvga.bin"

I obtained a QEMU for Windows installer from https://qemu.weilnetz.de/w64/, and used 7-Zip to extract kvmvapic.bin and vgabios-stdvga.bin from it. I added those files to the debugger directory, and everything started working.

P.S. VisualUefi is a great idea. Thank you!

ionescu007 commented 8 years ago

I don't see these errors, and don't have these files. So I wonder if you're running QEMU incorrectly, without going through the VS Project File?

mcnameej commented 8 years ago

My initial attempt was via Visual Studio. When nothing happened, I got the command line from samples.props and tried running it manually. Same result (quick exit with no output). That's when I noticed the stderr.txt file and went in search of the files it complained about.

By any chance, do you have a copy of QEMU installed into %ProgramFiles% on your system? I don't. If you do, QEMU is probably getting the missing files from there.

ionescu007 commented 8 years ago

You nailed it. Thank you!!!