If we have a system with xenforeignmemory_map2() implemented we don't need to save/restore physmap on suspend/restore anymore. In case we resume a VM without physmap - try to recreate the physmap during memory region restore phase and remap map cache entries accordingly. The old code is left for compatibility reasons. Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com> Reviewed-by: Paul Durrant <paul.durrant@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| trace-events | ||
| xen-hvm.c | ||
| xen-mapcache.c | ||
| xen_apic.c | ||
| xen_platform.c | ||
| xen_pvdevice.c | ||