mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
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 <yang.zhong@intel.com>
This commit is contained in:
parent
6fb7c3bbc2
commit
e05de4514d
@ -603,7 +603,7 @@ impl MasterInternal {
|
|||||||
#[inline]
|
#[inline]
|
||||||
fn new_request_header(request: MasterReq, size: u32) -> VhostUserMsgHeader<MasterReq> {
|
fn new_request_header(request: MasterReq, size: u32) -> VhostUserMsgHeader<MasterReq> {
|
||||||
// TODO: handle NEED_REPLY flag
|
// TODO: handle NEED_REPLY flag
|
||||||
VhostUserMsgHeader::new(request, 0, size)
|
VhostUserMsgHeader::new(request, 0x1, size)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user