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

2023-04-20 Thread Gupta, Pankaj via groups.io
libvirt snippet (add to ): 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

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

2023-04-20 Thread Gerd Hoffmann
Hi, > > libvirt snippet (add to ): > > > > > > > > > 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 >

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

2023-04-20 Thread Gupta, Pankaj via groups.io
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 \

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

2023-04-19 Thread Gerd Hoffmann
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

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

2023-04-18 Thread Ard Biesheuvel
On Mon, 17 Apr 2023 at 11:03, Gerd Hoffmann wrote: > This seems useful - how do I use it? > > > Gerd Hoffmann (4): > OvmfPkg: add IndustryStandard/VirtioSerial.h > OvmfPkg/VirtioSerialDxe: add driver > OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg* > OvmfPkg/PlatformBootManagerLib: setup

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

2023-04-17 Thread Gerd Hoffmann
Gerd Hoffmann (4): OvmfPkg: add IndustryStandard/VirtioSerial.h OvmfPkg/VirtioSerialDxe: add driver OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg* OvmfPkg/PlatformBootManagerLib: setup virtio serial console OvmfPkg/Microvm/MicrovmX64.dsc| 1 + OvmfPkg/OvmfPkgIa32.dsc