First version

This commit is contained in:
andy committed 2026-10-15 20:44:05 -03:00
commit 243e92a9dd
84 files changed
+4012

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env python3
# Sends one command to the QEMU monitor: monitor.py SOCKET 'command'
# (screendump FILE, sendkey KEY, device_add ..., quit, ...)
import socket, sys, time
s = socket.socket(socket.AF_UNIX)
s.connect(sys.argv[1])
time.sleep(0.3)
s.recv(65536)
s.sendall((sys.argv[2] + "\n").encode())
time.sleep(0.5)