]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: Switch to virtconsole for headless console 35836/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 3 Jan 2025 10:14:44 +0000 (11:14 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 3 Jan 2025 10:16:16 +0000 (11:16 +0100)
commit470c213bd9676f247948997d330e5febdb8034a2
tree7f917af2d4de8d7e93efc559c7eb8ebc3f067f66
parent33c1736082047166a8299dea42275ad070468aa2
vmspawn: Switch to virtconsole for headless console

virtconsole is the modern way to set up a headless serial connection
to a virtual machine so let's make use of it instead of -serial. This
also allows us to get rid of the per architecture serial console device
names and makes vmspawn more consistent with mkosi qemu which already uses
virtconsole.
src/vmspawn/vmspawn-util.h
src/vmspawn/vmspawn.c