kvm: test suite: remove memory size from linker script
commit0da52bdce92b192dc620bd5854405505082fd5ef
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Oct 2007 20:03:45 +0000 (10 15:03 -0500)
committerAvi Kivity <avi@qumranet.com>
Thu, 11 Oct 2007 11:23:32 +0000 (11 13:23 +0200)
tree7c21bf4ea366bd1b8ac0d80a88f0603b407fc311
parent4d3c2f03a4cab428195a64143e9d751e3dbffa6a
kvm: test suite: remove memory size from linker script

The memory size is currently hardcoded into the linker script (end_of_memory).
This prevents the memory size from being specified dynamically in kvmctl.
This patch adds a PIO port that can be used to query the memory size in the
tests.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/user/flat.lds
kvm/user/main.c
kvm/user/test/vm.c