mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Remove unused errors from public interface
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
30b74e74cd
commit
b8f5911c4e
@@ -132,15 +132,9 @@ pub enum Error {
|
||||
/// Cannot setup terminal in canonical mode.
|
||||
SetTerminalCanon(vmm_sys_util::errno::Error),
|
||||
|
||||
/// Failed parsing network parameters
|
||||
ParseNetworkParameters,
|
||||
|
||||
/// Memory is overflow
|
||||
MemOverflow,
|
||||
|
||||
/// Failed to allocate the IOAPIC memory range.
|
||||
IoapicRangeAllocation,
|
||||
|
||||
/// Cannot spawn a signal handler thread
|
||||
SignalHandlerSpawn(io::Error),
|
||||
|
||||
@@ -186,9 +180,6 @@ pub enum Error {
|
||||
/// Memory manager error
|
||||
MemoryManager(MemoryManagerError),
|
||||
|
||||
/// No PCI support
|
||||
NoPciSupport,
|
||||
|
||||
/// Eventfd write error
|
||||
EventfdError(std::io::Error),
|
||||
|
||||
@@ -225,9 +216,6 @@ pub enum Error {
|
||||
/// Failed resizing a memory zone.
|
||||
ResizeZone,
|
||||
|
||||
/// Failed setting the VmmOps interface.
|
||||
SetVmmOpsInterface(hypervisor::HypervisorVmError),
|
||||
|
||||
/// Cannot activate virtio devices
|
||||
ActivateVirtioDevices(device_manager::DeviceManagerError),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user