Re: [Qemu-devel] [PATCH 06/16] dimm: implement dimm device abstraction

2013-07-24 Thread Hu Tao
On Tue, Jul 23, 2013 at 06:23:02PM +0200, Igor Mammedov wrote: > From: Vasilis Liaskovitis <...> > + > +/** > + * DimmBus: DimmDevice > + * @start: starting physical address, where @DimmDevice is mapped. > + * @size: amount of memory mapped at @start. > + * @node: numa node to which @DimmDevic

[Qemu-devel] [PATCH 06/16] dimm: implement dimm device abstraction

2013-07-23 Thread Igor Mammedov
From: Vasilis Liaskovitis Each hotplug-able memory slot is a DimmDevice. All DimmDevices are attached to a new bus called DimmBus. A hot-add operation for a DIMM: - creates a new DimmDevice and attaches it to the DimmBus Hotplug operations are done through normal device_add commands. For migrat