Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread yuchenlin
On 2018-10-23 22:02, Laszlo Ersek wrote: On 10/23/18 15:42, Gerd Hoffmann wrote: Hi, Please help me see the situation better. Here's my current understanding. (1) QemuVideoDxe doesn't set up the VMW SVGA FIFO, and does not store 1 to the SVGA_REG_CONFIG_DONE register. And this is not

Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread Laszlo Ersek
On 10/23/18 15:42, Gerd Hoffmann wrote: > Hi, > >> Please help me see the situation better. Here's my current >> understanding. >> >> (1) QemuVideoDxe doesn't set up the VMW SVGA FIFO, and does not store 1 >> to the SVGA_REG_CONFIG_DONE register. And this is not a "small >> missing

Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread Gerd Hoffmann
Hi, > Please help me see the situation better. Here's my current > understanding. > > (1) QemuVideoDxe doesn't set up the VMW SVGA FIFO, and does not store 1 > to the SVGA_REG_CONFIG_DONE register. And this is not a "small > missing step" -- the FIFO setup can be considered a separate

Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread Laszlo Ersek
On 10/23/18 13:12, yuchenlin wrote: > Hi, Laszlo > > On 2018-10-23 18:18, Laszlo Ersek wrote: >> (1) Adding Gerd (because he maintains video in QEMU), and Phil >> Dennis-Jordan (for authoring commit c137d9508169, >> "OvmfPkg/QemuVideoDxe: VMWare SVGA device support", 2017-04-07). >> >> >> On

Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread yuchenlin
Hi, Laszlo On 2018-10-23 18:18, Laszlo Ersek wrote: (1) Adding Gerd (because he maintains video in QEMU), and Phil Dennis-Jordan (for authoring commit c137d9508169, "OvmfPkg/QemuVideoDxe: VMWare SVGA device support", 2017-04-07). On 10/23/18 04:40, yuchen...@synology.com wrote: From:

Re: [edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-23 Thread Laszlo Ersek
(1) Adding Gerd (because he maintains video in QEMU), and Phil Dennis-Jordan (for authoring commit c137d9508169, "OvmfPkg/QemuVideoDxe: VMWare SVGA device support", 2017-04-07). On 10/23/18 04:40, yuchen...@synology.com wrote: > From: yuchenlin > > When driver doesn't set fifo config, the

[edk2] [PATCH] OvmfPkg: initialize bochs when initializing vmsvga

2018-10-22 Thread yuchenlin
From: yuchenlin When driver doesn't set fifo config, the vmsvga will fall back to std vga. However, we don't initialize vbe related port. It causes blank screen in qemu console. This patch will fix "Guest has not initialized the display (yet)" when using qemu -device vmware-svga with ovmf.