Patent ID: 9507626
Filing Date: 2016-11-29
CPC Classification: G06F

Claim Text:
1. A method for recovery in a virtual environment comprising: detecting, at a hypervisor, a disconnect of a backend; sending a notification from the hypervisor to a guest, the notification corresponding to the disconnect of the backend; after the guest receives the notification, resetting a queue provided by a virtual device, wherein the queue is configured to store requests corresponding to the backend; the resetting of the queue comprising: sending a first reset notification from the guest to the hypervisor; responsive to the hypervisor receiving the first reset notification, the hypervisor resetting a host state corresponding to the queue; resetting a guest state corresponding to the queue, the resetting of the guest state including at least one of: (1) discarding the requests in the queue; or (2) re-queuing the requests in the queue; and sending a second reset notification from the guest to the hypervisor, the second reset notification identifying that the queue is ready for use; detecting or initiating, at the hypervisor, a reconnect of the backend; and sending, from the hypervisor to the backend, a state corresponding to the queue.