diff --git a/vhost/CHANGELOG.md b/vhost/CHANGELOG.md index f72ae24..76ecfe7 100644 --- a/vhost/CHANGELOG.md +++ b/vhost/CHANGELOG.md @@ -9,6 +9,7 @@ ### Deprecated ### Fixed - [[#338]](https://github.com/rust-vmm/vhost/pull/338) vhost: fix double-locking in Backend to Frontend request handlers +- [[#342]](https://github.com/rust-vmm/vhost/pull/342) vhost-user: frontend: Read the full reply for set_log_base ## v0.15.0 diff --git a/vhost/src/vhost_user/frontend.rs b/vhost/src/vhost_user/frontend.rs index bda291f..420eba2 100644 --- a/vhost/src/vhost_user/frontend.rs +++ b/vhost/src/vhost_user/frontend.rs @@ -258,7 +258,8 @@ impl VhostBackend for Frontend { &log, Some(&[region.mmap_handle]), )?; - node.wait_for_ack(&hdr).map_err(|e| e.into()) + let _ = node.recv_reply::(&hdr)?; + Ok(()) } else { let _ = node.send_request_with_body(FrontendReq::SET_LOG_BASE, &val, None)?; Ok(())