e0a4eb7219
CVE-2016-3712: out of bounds read in vga (bz #1334342) Fix USB redirection (bz #1330221) CVE-2016-4037: infinite loop in usb ehci (bz #1328080) CVE-2016-4001: buffer overflow in stellaris net (bz #1325885) CVE-2016-2858: rng stack corruption (bz #1314677) CVE-2016-2391: ohci: crash via multiple timers (bz #1308881) CVE-2016-2198: ehci: null pointer dereference (bz #1303134) Fix tpm passthrough (bz #1281413) Fix ./configure with ccache Ship sysctl file to fix s390x kvm (bz #1290589)
26 lines
901 B
Diff
26 lines
901 B
Diff
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Date: Tue, 26 Apr 2016 15:39:22 +0200
|
|
Subject: [PATCH] vga: update vga register setup on vbe changes
|
|
|
|
Call the new vbe_update_vgaregs() function on vbe configuration
|
|
changes, to make sure vga registers are up-to-date.
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
(cherry picked from commit 2068192dcccd8a80dddfcc8df6164cf9c26e0fc4)
|
|
---
|
|
hw/display/vga.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/hw/display/vga.c b/hw/display/vga.c
|
|
index ad524d4..3875538 100644
|
|
--- a/hw/display/vga.c
|
|
+++ b/hw/display/vga.c
|
|
@@ -761,6 +761,7 @@ void vbe_ioport_write_data(void *opaque, uint32_t addr, uint32_t val)
|
|
case VBE_DISPI_INDEX_Y_OFFSET:
|
|
s->vbe_regs[s->vbe_index] = val;
|
|
vbe_fixup_regs(s);
|
|
+ vbe_update_vgaregs(s);
|
|
break;
|
|
case VBE_DISPI_INDEX_BANK:
|
|
val &= s->vbe_bank_mask;
|