×

System and method for handling I/O timeout deadlines in virtualized systems

  • US 9,430,265 B1
  • Filed: 07/30/2015
  • Issued: 08/30/2016
  • Est. Priority Date: 01/31/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for avoiding Guest I/O timeout, comprising:

  • a. generating a request to an I/O device in a Guest Operating System (OS);

    b. setting a Virtual Machine (VM) timeout deadline to prevent a VM from failing if a response from the I/O device is not received;

    c. in a component that manages the VM, setting an I/O deadline for the I/O device to respond, wherein the I/O deadline is shorter than the VM timeout deadline;

    d. if a response from the I/O device is not received prior to expiration of the I/O deadline, pausing the Guest OS by halting all processes running on a virtual CPU associated with the VM;

    e. freezing a system time of the Guest OS;

    f. upon receipt of the response after the I/O deadline, forwarding the response to the Guest OS, unpausing the Guest OS and unfreezing the system time;

    g. upon receipt of the response by the Guest OS after the I/O deadline, and after the Guest OS is unpaused, the Guest OS is able to receive the response from the I/O device and delete the VM timeout deadline; and

    h. if no response is received from the I/O device, the Guest OS is kept in a paused state with the system time frozen.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×