vhost_rs: The vhost user version we support
The vhost user version should be same with backend.
define VHOST_USER_VERSION    (0x1)
@@ -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)
}
}
