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
qemu serial to stdio not working when invoked from cargo-watch #110
Comments
I suspect you'll get the same thing, but can you try under |
This is likely related to watchexec/watchexec#47, which coincidentally got a pull request today! watchexec/watchexec#102 If you can, could you try build that PR and running with watchexec to see if it also fixes your issue? |
Interesting, that sounds like it might be it. I'll try it out and let you know. |
Yep, that's it. I get the same issue with |
Oh, wonderful. Alright, I'll review that PR tonight and release a new watchexec and cargo-watch then. |
Fixed in 7.0.9. |
I'm trying to run the command
qemu-system-x86_64 -drive format=raw,file=target/x86_64-snos/debug/bootimage-snos.bin -serial mon:stdio -device isa-debug-exit,iobase=0xf4,iosize=0x04
fromcargo-watch
. I can run the command just fine on its own from the shell or a script, but trying to invoke the command directly or through a script fromcargo-watch
causes it to hang and the emulator never launches. If I remove the-serial mon:stdio
option, it runs fine, so something about QEMU mapping serial tostdio
breaks when run fromcargo-watch
. Any idea why, or if it's fixable?The text was updated successfully, but these errors were encountered: