mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +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]
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user