repository: /home/avi/kvm branch: master commit 1c51f1f82c89e8fbff8db28ee600bd985e114a36 Author: Izik Eidus <[EMAIL PROTECTED]> Date: Tue Oct 23 00:19:48 2007 +0200
make the bios map the tss pages at unavaible memory to the guest. Signed-off-by: Izik Eidus <[EMAIL PROTECTED]> diff --git a/bios/rombios.c b/bios/rombios.c index ac918ad..a9b5653 100644 --- a/bios/rombios.c +++ b/bios/rombios.c @@ -4241,18 +4241,27 @@ ASM_END return; break; case 5: + /* 3 pages before the bios, we map the vmx tss pages */ + set_e820_range(ES, regs.u.r16.di, 0xfffbd000L, + 0xfffc0000L, 0, 0, 2); + regs.u.r32.ebx = 6; + regs.u.r32.eax = 0x534D4150; + regs.u.r32.ecx = 0x14; + CLEAR_CF(); + return; + case 6: /* 256KB BIOS area at the end of 4 GB */ set_e820_range(ES, regs.u.r16.di, 0xfffc0000L, 0x00000000L ,0, 0, 2); if (extra_highbits_memory_size || extra_lowbits_memory_size) - regs.u.r32.ebx = 6; + regs.u.r32.ebx = 7; else regs.u.r32.ebx = 0; regs.u.r32.eax = 0x534D4150; regs.u.r32.ecx = 0x14; CLEAR_CF(); return; - case 6: + case 7: /* Maping of memory above 4 GB */ set_e820_range(ES, regs.u.r16.di, 0x00000000L, extra_lowbits_memory_size, 1, extra_highbits_memory_size ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits