migration/ram: Add check and info message to nvdimm post copy.
authorJunyan He <junyan.he@intel.com>
Wed, 18 Jul 2018 07:48:02 +0000 (15:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 10 Aug 2018 10:29:39 +0000 (13:29 +0300)
commit469dd51bc664979f159d47885997d482991394b8
treeb120b02b4b7b588cebe21256b1d3b7db814b8fc0
parentfaf8a13d80de98b43342a7ec9878b4fd76b18327
migration/ram: Add check and info message to nvdimm post copy.

The nvdimm kind memory does not support post copy now.
We disable post copy if we have nvdimm memory and print some
log hint to user.

Signed-off-by: Junyan He <junyan.he@intel.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
migration/ram.c