Hi Gerd,

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>
Was thinking about the motivation to add the virtio serial device.

AFAIU this can provide a console in bios/early boot based on "virtio".
Currently we can only get it with emulated PTY device which is slow
because of frequent VMEXITS because of ioport write?

Or is there any other reason (e.g across the ARCH support) to add this support in UEFI ?

Thanks,
Pankaj




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103294): https://edk2.groups.io/g/devel/message/103294
Mute This Topic: https://groups.io/mt/98315343/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to