Last active
June 15, 2023 14:52
-
-
Save wpyoga/5d4b625ad4c4aaf645657a7093d7bb4f to your computer and use it in GitHub Desktop.
run qemu monitor on socket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://unix.stackexchange.com/questions/426652/connect-to-running-qemu-instance-with-qemu-monitor | |
$ qemu-system-i386 [..other params..] -monitor unix:qemu-monitor.socket,server,nowait | |
$ qemu-system-i386 -monitor telnet:127.0.0.1:55555,server,nowait; | |
$ socat -,echo=0,icanon=0 unix-connect:qemu-monitor-socket | |
$ telnet 127.0.0.1 55555 | |
$ nc -N 127.0.0.1 55555 | |
quit socat with ctrl-c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment