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

2019-02-28 Thread Wei Yang
On Thu, Feb 28, 2019 at 03:12:21PM +0100, Igor Mammedov wrote: >On Thu, 28 Feb 2019 09:13:25 +0800 >Wei Yang wrote: > >> On Wed, Feb 27, 2019 at 07:04:02PM +0100, Igor Mammedov wrote: >> >On Mon, 25 Feb 2019 09:15:34 +0800 >> >Wei Yang wrote: >> > >> >> On Mon, Feb 25, 2019 at 09:07:08AM +0800,

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

2019-02-28 Thread Igor Mammedov
On Thu, 28 Feb 2019 09:13:25 +0800 Wei Yang wrote: > On Wed, Feb 27, 2019 at 07:04:02PM +0100, Igor Mammedov wrote: > >On Mon, 25 Feb 2019 09:15:34 +0800 > >Wei Yang wrote: > > > >> On Mon, Feb 25, 2019 at 09:07:08AM +0800, Wei Yang wrote: > >> >Currently we do device realization like below:

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

2019-02-27 Thread Wei Yang
On Wed, Feb 27, 2019 at 07:04:02PM +0100, Igor Mammedov wrote: >On Mon, 25 Feb 2019 09:15:34 +0800 >Wei Yang wrote: > >> On Mon, Feb 25, 2019 at 09:07:08AM +0800, Wei Yang wrote: >> >Currently we do device realization like below: >> > >> > hotplug_handler_pre_plug() >> > dc->realize() >> > h

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

2019-02-27 Thread Igor Mammedov
On Mon, 25 Feb 2019 09:15:34 +0800 Wei Yang wrote: > On Mon, Feb 25, 2019 at 09:07:08AM +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, w

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

2019-02-27 Thread Igor Mammedov
On Tue, 26 Feb 2019 11:37:32 +0800 Wei Yang wrote: > On Mon, Feb 25, 2019 at 09:15:34AM +0800, Wei Yang wrote: > >On Mon, Feb 25, 2019 at 09:07:08AM +0800, Wei Yang wrote: > >>Currently we do device realization like below: > >> > >> hotplug_handler_pre_plug() > >> dc->realize() > >> hotpl

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

2019-02-25 Thread Wei Yang
On Mon, Feb 25, 2019 at 09:15:34AM +0800, Wei Yang wrote: >On Mon, Feb 25, 2019 at 09:07:08AM +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 s

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

2019-02-24 Thread Wei Yang
On Mon, Feb 25, 2019 at 09:07:08AM +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 memory-hotplug-su

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

2019-02-24 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 memory-hotp