diff options
author | Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com> | 2014-06-02 15:25:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:47 +0300 |
commit | 10b7e74bf2de8587a8f9e15f216b87be43d6a7cf (patch) | |
tree | 85143179888a8fcf71debe0bc4d5511946a3917f /hw/Makefile.objs | |
parent | d012ffc189197962c8ac179611396f6af92c1860 (diff) | |
download | qemu-10b7e74bf2de8587a8f9e15f216b87be43d6a7cf.zip qemu-10b7e74bf2de8587a8f9e15f216b87be43d6a7cf.tar.gz qemu-10b7e74bf2de8587a8f9e15f216b87be43d6a7cf.tar.bz2 |
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>
Diffstat (limited to 'hw/Makefile.objs')
-rw-r--r-- | hw/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/Makefile.objs b/hw/Makefile.objs index d178b65..52a1464 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -29,6 +29,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += usb/ devices-dirs-$(CONFIG_VIRTIO) += virtio/ devices-dirs-$(CONFIG_SOFTMMU) += watchdog/ devices-dirs-$(CONFIG_SOFTMMU) += xen/ +devices-dirs-$(CONFIG_MEM_HOTPLUG) += mem/ devices-dirs-y += core/ common-obj-y += $(devices-dirs-y) obj-y += $(devices-dirs-y) |