memhp: extend address auto assignment to support gaps
commitdf0acded19ec4b826aa095cfc19d341bd66fafd3
authorIgor Mammedov <imammedo@redhat.com>
Tue, 29 Sep 2015 14:53:28 +0000 (29 16:53 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 2 Oct 2015 14:04:32 +0000 (2 17:04 +0300)
tree14470c0081efdb04649aa4687316b41ba3e66eda
parent8a9b6b37dabf00388e8069a2f5c0f659626693b3
memhp: extend address auto assignment to support gaps

setting gap to TRUE will make sparse DIMM
address auto allocation, leaving gaps between
a new DIMM address and preceeding existing DIMM.

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>
hw/i386/pc.c
hw/mem/pc-dimm.c
hw/ppc/spapr.c
include/hw/mem/pc-dimm.h