diff options
author | bd <bdunahu@operationnull.com> | 2025-02-04 16:53:11 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-02-04 16:53:11 -0500 |
commit | 3874a069c4efdaf4f01f22726e05971109420bd3 (patch) | |
tree | 8275e6d7d08b7c7c54677558fda9c1f6f5ba7818 /.config/emacs/modules/bd--files.el | |
parent | a2c04467caf56d1a4a63ed709f7b2abf7ed410ee (diff) |
Start QEMU in headless with SSH
Diffstat (limited to '.config/emacs/modules/bd--files.el')
-rw-r--r-- | .config/emacs/modules/bd--files.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 |