首页> 外国专利> Virtual operating system device communication relying on memory access violations

Virtual operating system device communication relying on memory access violations

机译:虚拟操作系统设备通信依赖于内存访问冲突

摘要

Attempts by drivers of a virtualized legacy computer game to communicate with nonexistent legacy game system hardware are converted into calls to actual hardware of the host computer game system. An access control list (ACL) restricting and/or reducing page permissions is used to explicitly forbid the drivers of the legacy computer game operating on the virtualized legacy computer game platform from writing to the MMIO addresses of the legacy computer game system. When the operating system of the virtualized legacy computer game platform attempts to touch its driver memory by writing to the MMIO addresses, the operating system of the host computer game system perceives a memory access violation, suspends the virtual machine implementing the virtualized computer game platform, and passes the intended write to an exception handler of the host operating system. The exception handler of the host operating system translates the attempted hardware access command into the command language of the host operating system and then returns control to the operating system of the virtualized legacy computer game platform. The legacy game is completely unaware of this address translation in that it sees only a successful hardware result and proceeds.
机译:虚拟化传统计算机游戏的驱动程序尝试与不存在的传统游戏系统硬件进行通信的尝试被转换为对主机计算机游戏系统的实际硬件的调用。访问控制列表(ACL)限制和/或减少页面权限用于明确禁止在虚拟化旧版计算机游戏平台上运行的旧版计算机游戏的驱动程序写入旧版计算机游戏系统的MMIO地址。当虚拟化旧版计算机游戏平台的操作系统尝试通过写入MMIO地址来触摸其驱动程序内存时,主机计算机游戏系统的操作系统会感知到内存访问冲突,从而中止实现该虚拟化计算机游戏平台的虚拟机,并将预期的写操作传递给主机操作系统的异常处理程序。主机操作系统的异常处理程序将尝试的硬件访问命令转换为主机操作系统的命令语言,然后将控制权返回给虚拟化传统计算机游戏平台的操作系统。传统游戏完全不知道该地址转换,因为它只能看到成功的硬件结果并继续进行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号