Patent ID: 8914803
Filing Date: 2014-12-16
Classification: G06F

Abstract:
1. A method, comprising: implementing, by a hypervisor executed by a processing device of a host machine, a pass-through mode to handle requests sent to the hypervisor by a virtual machine (VM) managed by the hypervisor, wherein the pass-through mode comprises the hypervisor directing the requests from the VM to at least one of a device or a module of the host machine that can handle the request; determining, by the hypervisor subsequent to the implementing the pass-through mode, that a number of outstanding requests corresponding to the VM exceeds a first threshold; implementing, by the hypervisor in view of the determining the number of outstanding requests exceeds the first threshold, a queued mode to handle the requests, wherein the queued mode comprises copying the requests to a queue of the hypervisor immediately upon receipt of the requests and notifying the VM that the requests have been queued; determining, by the hypervisor, that the number of outstanding requests corresponding to the VM is below a second threshold; and returning, by the hypervisor in view of the determining the number of outstanding requests is below the second threshold, the VM to the pass-through mode to handle the requests.