ENABLING A HOST PASSTHROUGH BASED ON A HARDWARE IDENTIFICATION INSTRUCTION

    公开(公告)号:US20230161613A1

    公开(公告)日:2023-05-25

    申请号:US17535458

    申请日:2021-11-24

    CPC classification number: G06F9/45558 G06F9/45545

    Abstract: Techniques and mechanisms for a host passthrough to be performed based on the execution of a hardware identification instruction with a virtual machine (VM). In an embodiment, a hypervisor process sets a value of a control parameter corresponding to a resource of the VM. The control parameter indicates whether the VM resource is authorized to avail of a host passthrough functionality of a processor which executes the hypervisor process. The control parameter is evaluated, based on a central processing unit identification (CPUID) instruction of a guest operating system which is executed with the VM, to determine whether the CPUID instruction is to result in a host passthrough or a VM exit. In another embodiment, a shared memory resource is searched to determine whether execution of the CPUID instruction is to retrieve information without the use of either the host passthrough or the VM exit.

Patent Agency Ranking