Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-26 Thread Igor Mammedov
On Sat, 24 Oct 2015 20:59:07 +0300 "Michael S. Tsirkin" wrote: > On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote: > > moves SSDT part to custom MHPT table, which is loaded > > at runtime by OSPM if it supports ACPIv2 revision and > > only if memory hotplug is enabled. > > That shoul

Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-25 Thread Laszlo Ersek
On 10/24/15 19:59, Michael S. Tsirkin wrote: > On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote: >> moves SSDT part to custom MHPT table, which is loaded >> at runtime by OSPM if it supports ACPIv2 revision and >> only if memory hotplug is enabled. >> That should reduce ACPI tables blo

Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-24 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote: > moves SSDT part to custom MHPT table, which is loaded > at runtime by OSPM if it supports ACPIv2 revision and > only if memory hotplug is enabled. > That should reduce ACPI tables blob size if memory > hotplug is not enabled (default

Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-24 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote: > moves SSDT part to custom MHPT table, which is loaded > at runtime by OSPM if it supports ACPIv2 revision and > only if memory hotplug is enabled. > That should reduce ACPI tables blob size if memory > hotplug is not enabled (default

Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-24 Thread Michael S. Tsirkin
On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote: > +/* copy AML table into ACPI tables blob and patch header there */ > +g_array_append_vals(table_data, table->buf->data, table->buf->len); > +build_header(linker, table_data, > +(void *)(table_data->data + table_dat

[Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table

2015-10-23 Thread Igor Mammedov
moves SSDT part to custom MHPT table, which is loaded at runtime by OSPM if it supports ACPIv2 revision and only if memory hotplug is enabled. That should reduce ACPI tables blob size if memory hotplug is not enabled (default case). Checked for compatibility issues with: * Windows XPsp3, Windows