summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Zhong <yang.zhong@intel.com>2019-07-19 20:10:58 +0800
committerAndreea Florescu <andreea.florescu15@gmail.com>2020-09-04 17:59:53 +0300
commit897bc18f573a6d52184f9781282257d114281cef (patch)
tree64e8118a4f2b58a067affd2b8a339d367d05b808 /src
parent37414831aadde3c8d72f04c17da2f40aa2fbc2b1 (diff)
downloadvmm_vhost-897bc18f573a6d52184f9781282257d114281cef.tar.gz
vhost-user: The vhost user version we support
The vhost user version should be same with backend. define VHOST_USER_VERSION (0x1) Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/vhost_user/master.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhost_user/master.rs b/src/vhost_user/master.rs
index d437ee4..1a098cd 100644
--- a/src/vhost_user/master.rs
+++ b/src/vhost_user/master.rs
@@ -603,7 +603,7 @@ impl MasterInternal {
#[inline]
fn new_request_header(request: MasterReq, size: u32) -> VhostUserMsgHeader<MasterReq> {
// TODO: handle NEED_REPLY flag
- VhostUserMsgHeader::new(request, 0, size)
+ VhostUserMsgHeader::new(request, 0x1, size)
}
}