-
1.
公开(公告)号:US20180173551A1
公开(公告)日:2018-06-21
申请号:US15383605
申请日:2016-12-19
Applicant: VMware, Inc.
Inventor: David DUNN , Doug COVELLI
IPC: G06F9/455 , G06F12/1009
Abstract: An example method of emulating nested page table (NPT) mode-based execute control in a virtualized computing system includes: providing NPT mode-based execute control from a hypervisor to a virtual machine (VM) executing in the virtualized computing system; generating a plurality of shadow NPT hierarchies at the hypervisor based on an NPT mode-based execute policy obtained from the VM; configuring a processor of the virtualized computing system to exit from the VM to the hypervisor in response to an escalation from a user privilege level to a supervisor privilege level caused by guest code of the VM; and exposing a first shadow NPT hierarchy of the plurality of shadow NPT hierarchies to the processor in response to an exit from the VM to the hypervisor due to the escalation from the user privilege level to the supervisor privilege level.
-
公开(公告)号:US20170371733A1
公开(公告)日:2017-12-28
申请号:US15192642
申请日:2016-06-24
Applicant: VMware, Inc.
Inventor: Radu RUGINA , Jeffrey W. SHELDON , James S. MATTSON, JR. , David DUNN
CPC classification number: G06F11/0712 , G06F9/45558 , G06F11/073 , G06F11/0751 , G06F11/0793 , G06F21/52 , G06F2009/45583 , G06F2009/45587 , G06F2009/45591
Abstract: Guest memory data structures are read by one or more read operations which are set up to handle page faults and general protection faults generated during the read in various ways. If such a fault occurs while performing the one or more read operations, the fault is handled and the one or more read operation is terminated. The fault is handled by either dropping the fault and reporting an error instead of the fault, by dropping the fault and invoking an error handler that is set up prior to performing the read operations, or by forwarding the fault to a fault handler that is setup prior to performing the read operations. If no fault occurs, the read operations complete successfully. Thus, under normal circumstances, no fault is incurred in a read operation on guest memory data structures.
-