misc: Remove unused errors from public interface

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-05-11 10:18:19 +00:00
committed by Sebastien Boeuf
parent 30b74e74cd
commit b8f5911c4e
10 changed files with 2 additions and 144 deletions

View File

@@ -113,10 +113,6 @@ pub enum Error {
#[error("Error rebooting VM: {0:?}")]
VmReboot(VmError),
/// Cannot shut a VM down
#[error("Error shutting down VM: {0:?}")]
VmShutdown(VmError),
/// Cannot create VMM thread
#[error("Error spawning VMM thread {0:?}")]
VmmThreadSpawn(#[source] io::Error),
@@ -125,10 +121,6 @@ pub enum Error {
#[error("Error shutting down VMM: {0:?}")]
VmmShutdown(VmError),
// Error following "exe" link
#[error("Error following \"exe\" link: {0}")]
ExePathReadLink(#[source] io::Error),
/// Cannot create seccomp filter
#[error("Error creating seccomp filter: {0}")]
CreateSeccompFilter(seccomp::SeccompError),