首页> 外国专利> Safe userspace device access for network function virtualization using an IOMMU to map supervisor memory to a reserved range of application virtual addresses

Safe userspace device access for network function virtualization using an IOMMU to map supervisor memory to a reserved range of application virtual addresses

机译:使用IOMMU将管理程序内存映射到保留的应用程序虚拟地址范围,从而实现网络功能虚拟化的安全用户空间设备访问

摘要

A device access system includes a memory having a supervisor memory, a processor, an input output memory management unit (IOMMU), and a supervisor. The supervisor includes a supervisor driver, which executes on the processor to allocate the supervisor memory and reserve a range of application virtual addresses. The supervisor driver programs the IOMMU to map the supervisor memory to the reserved range. A device is granted access to the reserved range, which is protected in host page table entries such that an application cannot modify data within the range. The supervisor driver configures the device to use the supervisor memory and receive a request including a virtual address and length from the application to use the device. The supervisor driver validates the request by verifying that the virtual address and length do not overlap the range reserved by the supervisor, and responsive to validating the request, submits the request to the device.
机译:设备访问系统包括具有管理程序存储器的存储器,处理器,输入输出存储器管理单元(IOMMU)和管理程序。管理程序包括管理程序驱动程序,该驱动程序在处理器上执行以分配管理程序内存并保留一系列应用程序虚拟地址。主管驱动程序对IOMMU进行编程,以将主管内存映射到保留范围。授予设备访问保留范围的权限,该保留范围在主机页表条目中受保护,因此应用程序无法修改该范围内的数据。监督程序驱动程序将设备配置为使用监督程序内存,并从应用程序接收包含虚拟地址和长度的请求以使用设备。监督者驱动程序通过验证虚拟地址和长度不与监督者保留的范围重叠来验证请求,并响应于验证请求,将请求提交给设备。

著录项

  • 公开/公告号US10795591B2

    专利类型

  • 公开/公告日2020-10-06

    原文格式PDF

  • 申请/专利权人 RED HAT INC.;

    申请/专利号US201916261046

  • 发明设计人 MICHAEL TSIRKIN;

    申请日2019-01-29

  • 分类号G06F3/06;G06F12/10;G06F9/455;G06F12/1009;G06F12/1081;G06F12/109;G06F12/14;G06F12/1027;

  • 国家 US

  • 入库时间 2022-08-21 11:28:10

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号