REDUCING CPU EXECUTION CONTEXT TRANSITIONS ACROSS PRIVILEGE LEVELS FOR USER LEVEL HYPERVISORS

    公开(公告)号:US20240028359A1

    公开(公告)日:2024-01-25

    申请号:US17868650

    申请日:2022-07-19

    Applicant: VMware, Inc.

    CPC classification number: G06F9/45558 G06F2009/45587

    Abstract: In one set of embodiments, new hardware-assisted virtualization features for a CPU are provided that include, among other things: (1) a new control structure that allows a kernel level hypervisor component to set, for each configurable property/setting maintained in an existing control structure, whether the property/setting is accessible from an unprivileged hypervisor mode of the CPU, (2) another new control structure that allows the kernel level hypervisor component to set, for each of a plurality of guest events or operations, whether the guest event or operation will cause a transition from a privileged or unprivileged guest mode of the CPU to the unprivileged hypervisor mode, and (3) the ability for the CPU to transition directly from the unprivileged hypervisor mode to the privileged or unprivileged guest mode.

    TECHNIQUES FOR REDUCING CPU PRIVILEGE BOUNDARY CROSSINGS

    公开(公告)号:US20240028336A1

    公开(公告)日:2024-01-25

    申请号:US17870651

    申请日:2022-07-21

    Applicant: VMware, Inc.

    CPC classification number: G06F9/30145 G06F9/545 G06F9/45533

    Abstract: In one set of embodiments, an operating system (OS) kernel of a computer system can receive an invocation of a system call by a user program running on the computer system. The OS kernel can further fetch a plurality of subsequent instructions that will be executed by the user program after the invocation of the system call and decode the plurality of subsequent instructions into a plurality of decoded instructions. The OS kernel can then analyze whether the plurality of decoded instructions include an additional system call invocation and whether other decoded instructions that appear between the invocation of the system call and the additional system call invocation are viable for emulation by the OS kernel.

Patent Agency Ranking