主权项 |
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. |