]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Cleanup e820 code
authorSasha Levin <levinsasha928@gmail.com>
Fri, 20 May 2011 14:23:05 +0000 (17:23 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 21 May 2011 08:07:05 +0000 (11:07 +0300)
commit6b8081199466ee2026bcac2ee1e6937295a8f134
tree651c74fa53ddd360b912941cdc2228709c297acc
parentb978a0d6c21c2c41e684aeadbfedd4f5b9ff5079
kvm tools: Cleanup e820 code

Several cleanups in the patch:
 - Use kernel headers for e820 types and definitions.
 - A byte sized entry count for e820 enteries was used,
this should be dword sized. Update in-memory layout and
bios code to fix it.
 - Use struct e820map to calculate offsets used by bios code.

Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/bios.c
tools/kvm/bios/e820.c
tools/kvm/include/kvm/bios.h
tools/kvm/include/kvm/e820.h