On Tue, Apr 18, 2023 at 05:46:35PM +0200, Ard Biesheuvel wrote:
>
> This seems useful - how do I use it?
bare qemu (with guest console on stdin/stdout):
qemu-system-x86_64 \
-enable-kvm -nodefaults -display none \
-bios Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd \
-chardev stdio,id=hvc0 \
-device virtio-serial-pci \
-device virtconsole,chardev=hvc0
libvirt snippet (add to <devices>):
<console type='pty'>
<target type='virtio' port='0'/>
</console>
take care,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103210): https://edk2.groups.io/g/devel/message/103210
Mute This Topic: https://groups.io/mt/98315343/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-