Windows host broken
By 45a50b1668822c23afc2a89f724654e176518bc4, symptoms VM starts but the screen stays black.
Signature · 1 line
mailto:[email protected]
[Qemu-devel] Bochs BIOS writes incorrect value into MTRR MSR
Hi All,
Bochs Bios has a bug in setup_mtrr function in rombios.cc The code:
/* Mark 3.5-4GB as UC, anything not specified defaults to WB */
wrmsr_smp(MTRRphysBase_MSR(0), 0xe0000000ull | 0);
wrmsr_smp(MTRRphysMask_MSR(0), ~(0x20000000ull - 1) | 0x800);sets reserved bits in the MTRRphysMask MSR which would cause #GP on real hardware.
The right way is to use physical address size provided in CPUID left 0x80000008 or set up only no more than 32 bit value.
Could somebody help to fix it ?
Thanks,
Stanislav
rom_add_file in loader.c:
"fd = open(rom->path, O_RDONLY);" should be "fd = open(rom->path, O_RDONLY|O_BINARY);"
Quoted 11 lines · malc-4 wrote:
By
45a50b1668822c23afc2a89f724654e176518bc4, symptoms VM starts but the screen stays black.Signature · 1 line
mailto:[email protected]
Signature · 2 lines
View this message in context: http://www.nabble.com/Windows-host-broken-tp25833538p25834748.html Sent from the QEMU - Dev mailing list archive at Nabble.com.
Quoted 5 lines · TeLeMan
rom_add_fileinloader.c:"fd =
open(rom->path, O_RDONLY);" should be "fd =open(rom->path, O_RDONLY|O_BINARY);"
Thank you.
[..snip..]
Signature · 1 line
mailto:[email protected]