From b232de996383b4363d59719fc5b8aea7c331dcbf Mon Sep 17 00:00:00 2001 From: Yang Zhong Date: Tue, 17 Sep 2019 15:20:13 +0800 Subject: [PATCH] vhost_rs: Add INFLIGHT_SHMFD protocol feature Add to the vhost_rs crate the INFLIGHT_SHMFD protocol feature that was missing from the list. The feature has been recently introduced in vhost-user specification, which is the reason why it was missing. Signed-off-by: Yang Zhong --- vhost_rs/src/vhost_user/message.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vhost_rs/src/vhost_user/message.rs b/vhost_rs/src/vhost_user/message.rs index 98bce128d..d083f0d06 100644 --- a/vhost_rs/src/vhost_user/message.rs +++ b/vhost_rs/src/vhost_user/message.rs @@ -346,6 +346,8 @@ bitflags! { const SLAVE_SEND_FD = 0x0000_0400; /// Allow the slave to register a host notifier. const HOST_NOTIFIER = 0x0000_0800; + /// Support inflight shmfd. + const INFLIGHT_SHMFD = 0x0000_1000; } }