summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Boeuf <sebastien.boeuf@intel.com>2020-07-24 19:05:24 +0200
committerAndreea Florescu <andreea.florescu15@gmail.com>2020-09-04 17:59:53 +0300
commit30d6199b494af77069b77ebcbd4228a92560572c (patch)
tree321bb8a9c31fa0d0e32a393a44ea33179d9820ee /src
parent6891a2a2cb18e50f77e87e76dccd9602e1159f27 (diff)
downloadvmm_vhost-30d6199b494af77069b77ebcbd4228a92560572c.tar.gz
vhost_user: Add missing protocol features
The spec recently introduced some new protocol features, which we need to be listed if we don't want to run into any issue when getting the list of supported features from the backend. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/vhost_user/message.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vhost_user/message.rs b/src/vhost_user/message.rs
index 5d4467e..dde5aa9 100644
--- a/src/vhost_user/message.rs
+++ b/src/vhost_user/message.rs
@@ -353,6 +353,14 @@ bitflags! {
const HOST_NOTIFIER = 0x0000_0800;
/// Support inflight shmfd.
const INFLIGHT_SHMFD = 0x0000_1000;
+ /// Support resetting the device.
+ const RESET_DEVICE = 0x0000_2000;
+ /// Support inband notifications.
+ const INBAND_NOTIFICATIONS = 0x0000_4000;
+ /// Support configuring memory slots.
+ const CONFIGURE_MEM_SLOTS = 0x0000_8000;
+ /// Support reporting status.
+ const STATUS = 0x0001_0000;
}
}