vhost-user: Make ActivateError messages more consistent

Originally, VhostUserSetup is only used by vhost-user-fs. While
vhost-user-blk and vhost-user-net have their own error messages,
we rename VhostUserSetup to VhostUserFsSetup.

Signed-off-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
This commit is contained in:
Jiachen Zhang
2021-03-11 20:53:05 +08:00
committed by Rob Bradford
parent 675a8f808c
commit 16b82f3dfe
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -85,11 +85,11 @@ pub enum ActivateError {
CloneKillEventFd,
/// Failed to create Vhost-user interrupt eventfd
VhostIrqCreate,
/// Failed to setup vhost-user daemon.
VhostUserSetup(vhost_user::Error),
/// Failed to setup vhost-user daemon.
/// Failed to setup vhost-user-fs daemon.
VhostUserFsSetup(vhost_user::Error),
/// Failed to setup vhost-user-net daemon.
VhostUserNetSetup(vhost_user::Error),
/// Failed to setup vhost-user daemon.
/// Failed to setup vhost-user-blk daemon.
VhostUserBlkSetup(vhost_user::Error),
/// Failed to reset vhost-user daemon.
VhostUserReset(vhost_user::Error),