memory-device: introduce separate config option
commit15cea5ae813f35bf34363511338219102f45ff39
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Oct 2018 09:20:14 +0000 (5 11:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (24 06:44 -0300)
tree6d22b434bf8a343db7d4f3b7923cf8810861deab
parent26b1d1fd642994faf06ca480890b76fd6bfde328
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>
default-configs/i386-softmmu.mak
default-configs/ppc64-softmmu.mak
hw/Makefile.objs
hw/mem/Makefile.objs
qapi/misc.json