mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: vhost_user: blk: Cleanup device creation
Prepare the device creation so that it can be factorized in a follow up commit. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -84,6 +84,10 @@ pub enum Error {
|
||||
VhostUserSetSlaveRequestFd(vhost::Error),
|
||||
/// Add memory region failed.
|
||||
VhostUserAddMemReg(VhostError),
|
||||
/// Failed getting the configuration.
|
||||
VhostUserGetConfig(VhostError),
|
||||
/// Failed setting the configuration.
|
||||
VhostUserSetConfig(VhostError),
|
||||
/// Invalid used address.
|
||||
UsedAddress,
|
||||
/// Invalid features provided from vhost-user backend
|
||||
|
||||
Reference in New Issue
Block a user