Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug.vbs #9

Closed
jjolig opened this issue Jul 6, 2017 · 1 comment
Closed

debug.vbs #9

jjolig opened this issue Jul 6, 2017 · 1 comment

Comments

@jjolig
Copy link

jjolig commented Jul 6, 2017

In my case I had to add the rw permission for the virtual hdd at the end of the debug.vbs.

Call shell.Run("""" & QEMU_PATH & QEMU_EXE & """ " & QEMU_OPTS & " -L . -bios " & FW_FILE & " -hda fat:rw:image", 1, True)

Without the permission the debug.vbs couldn't start the qemu.exe.

@pbatard
Copy link
Owner

pbatard commented Jul 6, 2017

A-Ha!

Thanks you so much for figuring the issue that has been plaguing users (see #8) trying to use this project with QEMU 2.9 on Windows.

From what I can see, it appears that the newer versions of QEMU insist on saving the firmware non-volatile variables to the ESP partition if it exists, so it wants to create an NvVars file there... which of course it can only do if the partition is mounted rw.

I really can't thank you enough for the tip. This has been an annoyance for a few of my projects that use QEMU on Windows, and, at long last, it can now be addressed.

I'll apply this fix right away!

@pbatard pbatard closed this as completed in 6edbb58 Jul 6, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants