vhost_user: Add Inflight I/O tracking support
The inflight I/O tracking feature is useful for handling crashes and disconnections from the backend. It allows the backend to rely on a buffer that was shared earlier with the VMM to restore to the previous state it was before the crash. This feature depends on the availability of the protocol feature VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD, and it implements both VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD messages. Fixes #43 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
30ba3e7bbe
commit
a8ff939161
7 changed files with 201 additions and 3 deletions
|
|
@ -26,4 +26,5 @@ vmm-sys-util = ">=0.3.1"
|
|||
vm-memory = { version = "0.2.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = ">=3.2.0"
|
||||
vm-memory = { version = "0.2.0", features=["backend-mmap"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue