From 3874a069c4efdaf4f01f22726e05971109420bd3 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 4 Feb 2025 16:53:11 -0500 Subject: Start QEMU in headless with SSH --- .config/emacs/modules/bd--files.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/emacs/modules/bd--files.el b/.config/emacs/modules/bd--files.el index 70deefc..5cf4e86 100644 --- a/.config/emacs/modules/bd--files.el +++ b/.config/emacs/modules/bd--files.el @@ -25,7 +25,9 @@ (defun bd/qemu (file) "Open FILE with QEMU." (start-process "qemu-system" nil "qemu-system-x86_64" (expand-file-name file) - "--accel" "kvm" "-m" "4G")) + "-nographic" "-net" "nic" "-net" + "user,hostfwd=tcp:127.0.0.1:2222-:22" "--accel" "kvm" "-m" "4G") + "Running headless.") (defun bd/rom (file) "Open FILE with an emulator." (let ((command -- cgit v1.2.3