mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
deps: Update vhost crate from 1a03a2a to 9982541
This dependency bump needed some manual handling since the API changed quite a lot regarding some RawFd being changed into either File or AsRawFd traits. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
c4be0f4235
commit
d4d62fc9dc
@@ -197,7 +197,7 @@ pub fn setup_vhost_user<S: VhostUserMasterReqHandler>(
|
||||
}
|
||||
|
||||
if let Some(slave_req_handler) = slave_req_handler {
|
||||
vu.set_slave_request_fd(slave_req_handler.get_tx_raw_fd())
|
||||
vu.set_slave_request_fd(&slave_req_handler.get_tx_raw_fd())
|
||||
.map_err(Error::VhostUserSetSlaveRequestFd)
|
||||
} else {
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user