Hi, These patches add migration support to mtty module. mtty module doesn't pin pages, but to test migration interface which queries dirty pages, first patch adds sysfs file to pin pages. Input to this file is guest pfn. Each write to sysfs file pins one page. Second patch add migration interface to mtty module. Only stop-and-copy phase is implemented. Postcopy migration is not supported. This series is for testing purpose only. Signed-off-by: Kirti Wankhede <kwankhede@xxxxxxxxxx> Kirti Wankhede (2): Sample mtty: Add sysfs interface to pin pages Sample mtty: Add migration capability to mtty module samples/vfio-mdev/mtty.c | 778 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 749 insertions(+), 29 deletions(-) -- 2.7.0