pc-dimm: get memory region from ->get_memory_region()
commit3c3e88a814ef4eb8b2f8bf81863baec24838d998
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Fri, 20 May 2016 08:19:58 +0000 (20 16:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Jun 2016 12:39:28 +0000 (7 15:39 +0300)
treeb03d8f590b165dff9fe794309d554ddde2f9ef33
parent28213cb6a61a724e2cb1e3a76d2bb17aa0ce9b36
pc-dimm: get memory region from ->get_memory_region()

Curretly, the memory region of backed memory is all directly
mapped to guest's address space, however, it will be not true
for nvdimm device if we introduce nvdimm label which only can
be indirectly accessed by ACPI DSM method

Also it improves the comments a bit to reflect this fact

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/mem/pc-dimm.c
include/hw/mem/pc-dimm.h