]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
man: add more info about qemu monitor 1513/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 25 Apr 2023 16:55:41 +0000 (18:55 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 25 Apr 2023 18:12:38 +0000 (20:12 +0200)
This is very hard to discover, but useful. Let's give the
users a hint.

man/mkosi.1
mkosi.md

index b3b226ae2ee748fa1e0d6a1fad08a38b3fc21434..70b7d414a66666091eaecc2ec4ac948ac750bc13 100644 (file)
@@ -1459,6 +1459,13 @@ fedora login: root (automatic login)
 .fi
 .PP
 The default is to boot with a text console only.
+In this mode, messages from the boot loader, the kernel, and systemd,
+and later the getty login prompt and shell all use the same terminal.
+It is possible to switch between the qemu console and monitor by
+pressing \f[V]Ctrl-a c\f[R].
+The qemu monitor may for example be used to inject special keys or shut
+down the machine quickly.
+.PP
 To boot with a graphical window, add \f[V]--qemu-qui\f[R]:
 .IP
 .nf
index 8b07df45136cb1bf7987e3669d08fd439cb72454..59e7844eb52b8aa849f2a916ed7aca310c286fc1 100644 (file)
--- a/mkosi.md
+++ b/mkosi.md
@@ -1387,6 +1387,13 @@ fedora login: root (automatic login)
 ```
 
 The default is to boot with a text console only.
+In this mode, messages from the boot loader, the kernel, and systemd,
+and later the getty login prompt and shell all use the same terminal.
+It is possible to switch between the qemu console and monitor
+by pressing `Ctrl-a c`.
+The qemu monitor may for example be used to inject special keys
+or shut down the machine quickly.
+
 To boot with a graphical window, add `--qemu-qui`:
 ```console
 $ mkosi -d fedora --qemu-gui qemu