Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Wei Yang
On Mon, Feb 18, 2019 at 02:53:36PM +0100, Igor Mammedov wrote: >On Mon, 18 Feb 2019 13:21:29 + >Wei Yang wrote: > >> On Mon, Feb 18, 2019 at 01:56:02PM +0100, Igor Mammedov wrote: >> >On Mon, 18 Feb 2019 12:13:24 + >> >Wei Yang wrote: >> > >> >> On Mon, Feb 18, 2019 at 10:50:34AM +0100,

Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Igor Mammedov
On Mon, 18 Feb 2019 13:21:29 + Wei Yang wrote: > On Mon, Feb 18, 2019 at 01:56:02PM +0100, Igor Mammedov wrote: > >On Mon, 18 Feb 2019 12:13:24 + > >Wei Yang wrote: > > > >> On Mon, Feb 18, 2019 at 10:50:34AM +0100, Igor Mammedov wrote: > >> >On Mon, 18 Feb 2019 09:13:33 +0800 > >> >Wei

Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Wei Yang
On Mon, Feb 18, 2019 at 01:56:02PM +0100, Igor Mammedov wrote: >On Mon, 18 Feb 2019 12:13:24 + >Wei Yang wrote: > >> On Mon, Feb 18, 2019 at 10:50:34AM +0100, Igor Mammedov wrote: >> >On Mon, 18 Feb 2019 09:13:33 +0800 >> >Wei Yang wrote: >> > >> >> Currently we do device realization like

Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Igor Mammedov
On Mon, 18 Feb 2019 12:13:24 + Wei Yang wrote: > On Mon, Feb 18, 2019 at 10:50:34AM +0100, Igor Mammedov wrote: > >On Mon, 18 Feb 2019 09:13:33 +0800 > >Wei Yang wrote: > > > >> Currently we do device realization like below: > >> > >>hotplug_handler_pre_plug() > >>dc->realize() >

Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Wei Yang
On Mon, Feb 18, 2019 at 10:50:34AM +0100, Igor Mammedov wrote: >On Mon, 18 Feb 2019 09:13:33 +0800 >Wei Yang wrote: > >> Currently we do device realization like below: >> >>hotplug_handler_pre_plug() >>dc->realize() >>hotplug_handler_plug() >> >> Before we do device realization and

Re: [Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-18 Thread Igor Mammedov
On Mon, 18 Feb 2019 09:13:33 +0800 Wei Yang wrote: > Currently we do device realization like below: > >hotplug_handler_pre_plug() >dc->realize() >hotplug_handler_plug() > > Before we do device realization and plug, we should allocate necessary > resources and check if

[Qemu-devel] [PATCH v2] i386, acpi: check acpi_memory_hotplug capacity in pre_plug

2019-02-17 Thread Wei Yang
Currently we do device realization like below: hotplug_handler_pre_plug() dc->realize() hotplug_handler_plug() Before we do device realization and plug, we should allocate necessary resources and check if memory-hotplug-support property is enabled. At the piix4 and ich9, the