diff options
author | David Hildenbrand <david@redhat.com> | 2018-10-05 11:20:14 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-24 06:44:59 -0300 |
commit | 15cea5ae813f35bf34363511338219102f45ff39 (patch) | |
tree | 6d22b434bf8a343db7d4f3b7923cf8810861deab /hw/mem | |
parent | 26b1d1fd642994faf06ca480890b76fd6bfde328 (diff) | |
download | qemu-15cea5ae813f35bf34363511338219102f45ff39.zip qemu-15cea5ae813f35bf34363511338219102f45ff39.tar.gz qemu-15cea5ae813f35bf34363511338219102f45ff39.tar.bz2 |
memory-device: introduce separate config option
Some architectures might support memory devices, while they don't
support DIMM/NVDIMM. So let's
- Rename CONFIG_MEM_HOTPLUG to CONFIG_MEM_DEVICE
- Introduce CONFIG_DIMM and use it similarly to CONFIG NVDIMM
CONFIG_DIMM and CONFIG_NVDIMM require CONFIG_MEM_DEVICE.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-7-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/mem')
-rw-r--r-- | hw/mem/Makefile.objs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mem/Makefile.objs b/hw/mem/Makefile.objs index 10be4df..3e2f7c5 100644 --- a/hw/mem/Makefile.objs +++ b/hw/mem/Makefile.objs @@ -1,3 +1,3 @@ -common-obj-$(CONFIG_MEM_HOTPLUG) += pc-dimm.o -common-obj-$(CONFIG_MEM_HOTPLUG) += memory-device.o +common-obj-$(CONFIG_DIMM) += pc-dimm.o +common-obj-$(CONFIG_MEM_DEVICE) += memory-device.o common-obj-$(CONFIG_NVDIMM) += nvdimm.o |