From e05de4514d03ae854f5dd98db6837cc6a6062c9d Mon Sep 17 00:00:00 2001 From: Yang Zhong Date: Fri, 19 Jul 2019 20:10:58 +0800 Subject: [PATCH] vhost_rs: 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 --- vhost_rs/src/vhost_user/master.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhost_rs/src/vhost_user/master.rs b/vhost_rs/src/vhost_user/master.rs index 2fdbb5091..a7129a18d 100644 --- a/vhost_rs/src/vhost_user/master.rs +++ b/vhost_rs/src/vhost_user/master.rs @@ -603,7 +603,7 @@ impl MasterInternal { #[inline] fn new_request_header(request: MasterReq, size: u32) -> VhostUserMsgHeader { // TODO: handle NEED_REPLY flag - VhostUserMsgHeader::new(request, 0, size) + VhostUserMsgHeader::new(request, 0x1, size) } }