0c76f22ef1
- bnc#633573 - System fail to boot after running several warm reboot tests 22749-vtd-workarounds.patch - Upstream patches from Jan 22744-ept-pod-locking.patch 22777-vtd-ats-fixes.patch 22781-pod-hap-logdirty.patch 22782-x86-emul-smsw.patch 22789-i386-no-x2apic.patch 22790-svm-resume-migrate-pirqs.patch 22816-x86-pirq-drop-priv-check.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=94
17 lines
750 B
Diff
17 lines
750 B
Diff
Index: xen-4.0.2-testing/xen/arch/x86/hvm/stdvga.c
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/xen/arch/x86/hvm/stdvga.c
|
|
+++ xen-4.0.2-testing/xen/arch/x86/hvm/stdvga.c
|
|
@@ -135,7 +135,10 @@ static int stdvga_outb(uint64_t addr, ui
|
|
|
|
/* When in standard vga mode, emulate here all writes to the vram buffer
|
|
* so we can immediately satisfy reads without waiting for qemu. */
|
|
- s->stdvga = (s->sr[7] == 0x00);
|
|
+ s->stdvga =
|
|
+ (s->sr[7] == 0x00) && /* standard vga mode */
|
|
+ (s->gr[6] == 0x05); /* misc graphics register w/ MemoryMapSelect=1
|
|
+ * 0xa0000-0xaffff (64k region), AlphaDis=1 */
|
|
|
|
if ( !prev_stdvga && s->stdvga )
|
|
{
|