From: Jan Kiszka <[email protected]>

Exactly, it's *768*. This digit flip broke scrolling at best or even
hang the box when the framebuffer mapping was sized as needed.

Fixes: 790ac72a3ee5 ("x86: Add EFI framebuffer debug console")
Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/x86/efifb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hypervisor/arch/x86/efifb.c b/hypervisor/arch/x86/efifb.c
index f7d4d68c..372cf790 100644
--- a/hypervisor/arch/x86/efifb.c
+++ b/hypervisor/arch/x86/efifb.c
@@ -111,6 +111,6 @@ void efifb_init(void)
                efifb_height = 1080 / EFIFB_FONT_HEIGHT;
        } else {
                efifb_width  = 1024 / EFIFB_FONT_WIDTH;
-               efifb_height =  876 / EFIFB_FONT_HEIGHT;
+               efifb_height =  768 / EFIFB_FONT_HEIGHT;
        }
 }
--
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/b13da2e9-fbd3-deb2-e117-74bb2e398393%40web.de.

Reply via email to