mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost_user_backend: Rename start() to start_server()
The point being to identify clearly that we're running the backend as a server. This anticipates the addition of a new function for running the backend as a client. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -157,7 +157,7 @@ impl<S: VhostUserBackend> VhostUserDaemon<S> {
|
||||
/// all requests coming through this socket. This runs in an infinite loop
|
||||
/// that should be terminating once the other end of the socket (the VMM)
|
||||
/// disconnects.
|
||||
pub fn start(&mut self, listener: Listener) -> Result<()> {
|
||||
pub fn start_server(&mut self, listener: Listener) -> Result<()> {
|
||||
let mut slave_listener = SlaveListener::new(listener, self.handler.clone())
|
||||
.map_err(Error::CreateSlaveListener)?;
|
||||
let mut slave_handler = slave_listener
|
||||
|
||||
Reference in New Issue
Block a user