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:
Sebastien Boeuf
2021-05-04 19:06:41 +02:00
parent b5c6b04b36
commit 904aea76ab
3 changed files with 3 additions and 3 deletions

View File

@@ -372,7 +372,7 @@ pub fn start_net_backend(backend_command: &str) {
.set_vring_worker(Some(vring_workers.remove(0)));
}
if let Err(e) = net_daemon.start(listener) {
if let Err(e) = net_daemon.start_server(listener) {
error!(
"failed to start daemon for vhost-user-net with error: {:?}",
e