Provide foreign memory mapping services to vhost-master daemons

Description

Splitting STR-55 in two parts in order to better track the work done. As such this part is concerted with providing support to map and unmap foreign memory to vhost-master daemons. More specifically, making sure there is a Rust equivalent to Xen’s xenforeignmemory_map2() API and that the Linux kernel is doing the right thing with the pages that are allocated.

Activity

Mathieu Poirier 
May 11, 2022 at 9:59 PM

Viresh has confirmed the validity of the implementation.

Mathieu Poirier 
May 10, 2022 at 8:40 PM

  • Finished implementing and testing the xenforeignmemory_map() API, including support to retry paged-out pages.

  • Integrated the xenforeignmemory_map() API with the xen-vhost-master crate.

  • Sent a pull request to .

Next Step:

  • Close this story when confirms that things are working properly on his side.

Mathieu Poirier 
April 29, 2022 at 7:36 PM

  • Integrated support for xenforeignmemroy_map_resource() API with the xen-vhost-master crate.

  • Started working on support for the xenforeignmemory_map() API.

Next Steps:

  • Finish implementing support for the xenforeignmemory_map() API and integrate with the xen-vhost-master crate.

Mathieu Poirier 
April 14, 2022 at 10:56 PM

  • Implemented support for the xenforeighmemroy_map_resource() API.

  • Worked on reproducing Viresh's vhost-master/vhost-user setup to test
    the above - this is still ongoing.

Next Steps:

  • Finish setting up Viresh’s test environment on my side.

  • Integrate support for xenforeighmemroy_map_resource() in the current test environment.

  • Start working on support for the xenforeighmemory_map() API.

Delivered

Details

Assignee

Reporter

Share Visibility

Alex Bennée

Start date

Original estimate

Time tracking

No time logged6w remaining

Sprint

Priority

Checklist

Sentry

Created March 25, 2022 at 9:19 PM
Updated May 11, 2022 at 9:59 PM
Resolved May 11, 2022 at 9:59 PM