xen/mapcache: add an ability to create dummy mappings
commit759235653de427e4e7b62d8e6fb1ef9cb68bac7d
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Mon, 10 Jul 2017 22:40:01 +0000 (10 23:40 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 18 Jul 2017 21:12:20 +0000 (18 14:12 -0700)
tree6154995d32c73f4d4bb8aa12cae74a44cb0288ea
parent697b66d006676620a56fb5b79720ce457158204b
xen/mapcache: add an ability to create dummy mappings

Dummys are simple anonymous mappings that are placed instead
of regular foreign mappings in certain situations when we need
to postpone the actual mapping but still have to give a
memory region to QEMU to play with.

This is planned to be used for restore on Xen.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
hw/i386/xen/xen-mapcache.c