Re: [Qemu-devel] [RFC PATCH v2 04/21][SeaBIOS] acpi: generate hotplug memory devices

2012-07-11 Thread Vasilis Liaskovitis
Hi, On Wed, Jul 11, 2012 at 06:48:38PM +0800, Wen Congyang wrote: > > +if (enabled) > > +add_e820(mem_base, mem_len, E820_RAM); > > add_e820() is declared in memmap.h. You should include this header file, > otherwise, seabios cannot be built. thanks. you had the same comment

[Qemu-devel] [RFC PATCH v2 04/21][SeaBIOS] acpi: generate hotplug memory devices

2012-07-11 Thread Vasilis Liaskovitis
The memory device generation is guided by qemu paravirt info. Seabios first uses the info to setup SRAT entries for the hotplug-able memory slots. Afterwards, build_memssdt uses the created SRAT entries to generate appropriate memory device objects. One memory device (and corresponding SRAT entry)

Re: [Qemu-devel] [RFC PATCH v2 04/21][SeaBIOS] acpi: generate hotplug memory devices

2012-07-11 Thread Wen Congyang
At 07/11/2012 06:31 PM, Vasilis Liaskovitis Wrote: > The memory device generation is guided by qemu paravirt info. Seabios > first uses the info to setup SRAT entries for the hotplug-able memory slots. > Afterwards, build_memssdt uses the created SRAT entries to generate > appropriate memory device