Shared memory management method, virtual machine monitor, and computing device
AssigneeAlipay (Hangzhou) Information Technology Co., Ltd.
InventorsYiling Xu, Shuang Liu, Ran Duan, Shoumeng Yan
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlipay (Hangzhou) Information Technology Co., Ltd.
InventorsYiling Xu, Shuang Liu, Ran Duan, Shoumeng Yan
Estimating the term…
Shared memory management methods and apparatuses are provided. In an implementation, an apparatus comprises a virtual machine monitor, a virtual machine, and a trusted execution environment (TEE). The virtual machine monitor is configured to determine, based on the address information, whether a first address is comprised in the shared memory when a page fault occurs in response to the trusted part requests to access the first address, and in response to determining that the first address is comprised in the shared memory, send an interrupt notification to the virtual machine. The virtual machine is configured to: in response to the interrupt notification and determining, based on the address information, that the first address is comprised in the shared memory, validate a first page table entry in the first page table, and return a response message to the virtual machine monitor, wherein the first page table entry comprises address mapping information of a first page that comprises the first address.
A method for managing a shared memory in a computing device, wherein the computing device comprises a virtual machine monitor, a virtual machine, and a trusted execution environment (TEE), an untrusted part and a trusted part of a target application program independently run in the virtual machine and the TEE, the virtual machine maintains a first page table of the untrusted part, and the virtual machine monitor maintains a second page table of the trusted part, and wherein the method comprises:
A computing device comprising:
A non-transitory, computer-readable medium storing one or more instructions executable by a computing device comprising a virtual machine monitor, a virtual machine, and a trusted execution environment (TEE), an untrusted part and a trusted part of a target application program independently run in the virtual machine and the TEE, the virtual machine maintains a first page table of the untrusted part, and the virtual machine monitor maintains a second page table of the trusted part, and wherein the one or more instructions are executable by the computing device to perform operations comprising:
Dependencies are inferred from the claim text.