On Wed, May 04, 2011 at 10:06:27AM +0200, Gerd Hoffmann wrote:
On 05/04/11 04:26, Isaku Yamahata wrote:
On Tue, May 03, 2011 at 08:47:04PM -0400, Kevin O'Connor wrote:
Is there a way to figure the usable address space at runtime instead of depending on BUILD_PCIMEM_START? Can I just check RamSize?
As far as I'm aware, it would be possible to use RamSize (or better yet, the e820 map).
I suggest e820. Not only ram, but also other chipset functions may use memory area like PCI MMCONFIG which is reserved by e820.
Do you have a qemu q35 branch in git somewhere which I could use to test the bridging stuff?
You can get it from the followings. The modified seabios and acpi dsdt are also needed to boot it.
git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/qemu git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/seabios
Example: qemu-system-x86_64 ... -M pc_q35 -acpitable 'load_header,data=roms/seabios/src/q35-acpi-dsdt.aml