发明名称 VIRTUAL MACHINE FUNCTION BASED SUB-PAGE BASE ADDRESS REGISTER ACCESS FOR PERIPHERAL COMPONENT INTERCONNECT DEVICE ASSIGNMENT
摘要 A value stored in a guest device register is received from a virtual machine. A hypervisor generates a page table including a first mapping between the value stored in the guest device register and a first address of the host operating system and a second mapping between a second address of the guest operating system and a third address of a virtual machine function on the host operating system. The hypervisor modifies a first access status of the first mapping to include rendering memory of the host device referenced by the value stored in the guest device register accessible to the virtual machine function, and a second access status of the second mapping to include rendering the virtual machine function accessible to the virtual machine. The hypervisor initializes code on the virtual machine function to access the memory of the host device.
申请公布号 US2016314009(A1) 申请公布日期 2016.10.27
申请号 US201514697102 申请日期 2015.04.27
申请人 Red Hat Israel, Ltd. 发明人 Tsirkin Michael
分类号 G06F9/455 主分类号 G06F9/455
代理机构 代理人
主权项 1. A system comprising: a memory; a host device; a guest device; one or more processors, in communication with the memory; a virtual machine, including a guest operating system, executing on the one or more processors; a host operating system executing on the one or more processors; and a hypervisor executing on the one or more processors to: receive, from the virtual machine, a value stored in a guest device register;responsive to receiving the value stored in the guest device register, generate, by the hypervisor, a page table including a first mapping between the value stored in the guest device register and a first address of the host operating system and a second mapping between a second address of the guest operating system and a third address of a virtual machine function on the host operating system;modify, by the hypervisor, a first access status of the first mapping, wherein modifying the first access status includes rendering memory of the host device referenced by the value stored in the guest device register accessible to the virtual machine function;modify, by the hypervisor, a second access status of the second mapping, wherein modifying the second access status includes rendering the virtual machine function accessible to the virtual machine; andinitialize, by the hypervisor, code on the virtual machine function to access the memory of the host device.
地址 Ra'anana IL