Seabios e820 reservation portion v3
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 16 Feb 2010 08:46:08 +0000 (09:46 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 21 Feb 2010 19:15:44 +0000 (14:15 -0500)
commit0360e8e69bb3a773ceb9d2b091b62c027bca862b
tree74ceeadd9385b7e4c584193a358a0c0f6f407e0f
parent7149fc813139cf564a4456815461c18a8b208e89
Seabios e820 reservation portion v3

On 02/16/10 01:43, Kevin O'Connor wrote:
> On Mon, Feb 15, 2010 at 06:33:59PM +0100, Jes Sorensen wrote:
>> Hi,
>>
>> This is the Seabios part to match my e820 reservation via fw_cfg patch.
>
> This still has 'struct e820_entry' which is too similar to 'struct
> e820entry' in memmap.h.  Otherwise, it looks good to me.

Hmmm didn't catch that one earlier, thanks for pointing it out. I have
renamed it to struct e820_reservation to make it different.

Hope this version does the trick then.

Cheers,
Jes

Read optional table of e820 entries from qemu_cfg

Read optional table of e820 entries through qemu_cfg, allowing QEMU to
provide the location of KVM's switch area etc. rather than rely on
hard coded values.

For now, fall back to the old hard coded values for the TSS and EPT
switch page for compatibility reasons. Compatibility code could
possibly be removed in the future.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
src/paravirt.c
src/paravirt.h
src/post.c