mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
pc: implement pc-dimm device abstraction
Each hotplug-able memory slot is a PCDIMMDevice. A hot-add operation for a memory device: - creates a new PCDIMMDevice and makes hotplug controller to map it into guest address space Hotplug operations are done through normal device_add commands. For migration case, all hotplugged memory devices on source should be specified on target's command line using '-device' option with properties set to the same values as on source. To simplify review, patch introduces only PCDIMMDevice QOM skeleton that will be extended by following patches to implement actual memory hotplug and related functions. Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d012ffc189
commit
10b7e74bf2
6 changed files with 176 additions and 0 deletions
1
hw/mem/Makefile.objs
Normal file
1
hw/mem/Makefile.objs
Normal file
|
@ -0,0 +1 @@
|
|||
common-obj-$(CONFIG_MEM_HOTPLUG) += pc-dimm.o
|
Loading…
Add table
Add a link
Reference in a new issue