Patent ID: 9600190
Date: 2017-03-21
CPC Classifications: G06F

Claim:
1. A method comprising: with a guest running on a host computing system, requesting execution of a first virtual machine function; determining a first pointer value stored in a register of a processor running on the host system while the first virtual machine function is executed, the first pointer value pointing to a first page table, the first page table indicating that the guest has access to a first privileged page; in response to requesting execution of the first virtual machine function, switching to the first page table; after executing code while the guest has access to the first privileged page, switching to a default page table; with the guest, requesting execution of a second virtual machine function; determining a second pointer value stored in the register of the processor while the second virtual machine function is executed, the second pointer value pointing to a second page table, the second page table that indicates that the guest has access to a second privileged page; and in response to requesting execution of the second virtual machine function, switching to the second page table; after executing code while the guest has access to the second privileged page, switching to the default page table.