发明名称 Virtual device timeout by memory offlining
摘要 A system, methods, and apparatus for virtual device timeout by memory offlining. A hypervisor receives a message from a source virtual machine to be transmitted to a destination machine and reserves a block of memory associated with the message. The message received from the source virtual machine is transmitted to the destination machine. The hypervisor then determines whether to reclaim the block of memory. If reclaiming the block of memory, the hypervisor offlines the block of memory by offlining one or more pages corresponding to the block of memory and/or offlining all memory corresponding to the source virtual machine. The hypervisor then indicates to the source virtual machine that the block of memory is accessible.
申请公布号 US9575796(B2) 申请公布日期 2017.02.21
申请号 US201514623071 申请日期 2015.02.16
申请人 Red Hat Isreal, Ltd. 发明人 Tsirkin Michael
分类号 G06F9/54;G06F9/455;G06F9/50 主分类号 G06F9/54
代理机构 K&L Gates LLP 代理人 K&L Gates LLP
主权项 1. A system comprising: a memory; one or more processors, in communication with the memory; one or more virtual machines executing on the one or more processors; and a hypervisor executing on the one or more processors to: receive, by the hypervisor, a message from a source virtual machine to be transmitted to a destination machine;reserve, by the hypervisor, a first block of memory associated with the message;transmit the message received from the source virtual machine to the destination machine with a zero copy operation;after the message is transmitted to the destination machine, determine, by the hypervisor, whether to reclaim the first block of memory, a determination to reclaim the first block of memory being made by the hypervisor responsive to an amount of time exceeding a maximum time out value having elapsed since the message was transmitted without at least one of receiving a response and completing a task having occurred;responsive to the determination to reclaim the first block of memory and in response to receiving a request to reset the source virtual machine, offlining, by the hypervisor, one or more pages corresponding to the first block of memory; andindicate, by the hypervisor, to the source virtual machine that the first block of memory is accessible.
地址 Ra'anana IL