×

Hardware-assisted guest address space scanning in a virtualized computing system

  • US 10,642,751 B2
  • Filed: 07/20/2017
  • Issued: 05/05/2020
  • Est. Priority Date: 07/20/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of scanning a guest virtual address (GVA) space generated by a guest operating system executing in a virtual machine of a virtualized computing system, the method comprising:

  • setting, in a scan of the GVA space by a hypervisor that manages the virtual machine, a current GVA to a first GVA in the GVA space;

    executing, by the hypervisor on a processor allocated to the virtual machine, an address translation instruction, which is included in an instruction set architecture (ISA) of each core of the processor having one or more cores, to perform a first address translation of the current GVA;

    reading a register of the processor to determine a first error resulting from the first address translation;

    determining, in response to the first error, a level of a faulting page table in a first page table hierarchy generated by the guest operating system; and

    setting the current GVA to a second GVA based on the level of the faulting page table.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×