[edk2-devel] [PATCH 0/4] OvmfPkg: add virtio serial driver

Gerd Hoffmann kraxel at redhat.com
Wed Apr 19 06:18:53 UTC 2023


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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list