Request processing using VM functions
AssigneeRed Hat Israel, Ltd.
InventorMichael S. Tsirkin
Life of this patent
Estimating the term…
Abstract
A hypervisor receives a notification from a source virtual machine that provides network function virtualization (NFV) support to execute a VM function component to send a request to a virtual processor. The VM function component identifies a physical processor associated with the virtual processor, and adds the request to a memory space associated with the physical processor.
Claims20
A method comprising:
- receiving, by a hypervisor executed by a processing device, a notification from a guest operating system of a virtual machine (VM) to execute a VM function, wherein in response to the notification, the VM function is executed to send a request to a virtual processor;
- identifying, by the hypervisor, a physical processor associated with the virtual processor;
- storing, using a VM function component of the hypervisor, the request in a memory space associated with the physical processor;
- and
- responsive to determining, by the VM function component, that polling of the memory space is enabled, completing execution of the VM function without issuing an exit to the hypervisor.
A computing apparatus comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, to:
- receive, using a hypervisor, a notification from a guest operating system of a virtual machine (VM) to execute a VM function, wherein in response to notification, the VM function is executed to send a request to a virtual processor;
- identify, using the hypervisor, a physical processor associated with the virtual processor;
- store, using a VM function component of the hypervisor, the request in a memory space associated with the physical processor;
- and
- responsive to determining, by the VM function component, that polling of the memory space is enabled, complete execution of the VM function without issuing an exit to the hypervisor.
A non-transitory computer readable storage medium, having instructions stored therein, which when executed by a processing device of a computer system, cause the processing device to:
- receive, using a hypervisor, a notification from a guest operating system of a virtual machine (VM) to execute a VM function, wherein in response to notification, the VM function is executed to send a request to a virtual processor;
- identify, using the hypervisor, a physical processor associated with the virtual processor;
- store, using a VM function component of the hypervisor, the request in a memory space associated with the physical processor;
- and
- responsive to determining, by the VM function component, that polling of the memory space is enabled, complete execution of the VM function without issuing an exit to the hypervisor.
Dependencies are inferred from the claim text.