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
@@ -162,9 +162,6 @@ pub enum Error {
|
||||
/// Failed to allocate a memory range.
|
||||
MemoryRangeAllocation,
|
||||
|
||||
/// Failed to create map region
|
||||
MmapRegion(),
|
||||
|
||||
/// Error from region creation
|
||||
GuestMemoryRegion(MmapRegionError),
|
||||
|
||||
@@ -195,10 +192,6 @@ pub enum Error {
|
||||
/// Cannot create the system allocator
|
||||
CreateSystemAllocator,
|
||||
|
||||
/// The number of external backing files doesn't match the number of
|
||||
/// memory regions.
|
||||
InvalidAmountExternalBackingFiles,
|
||||
|
||||
/// Invalid SGX EPC section size
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
EpcSectionSizeInvalid,
|
||||
|
||||
Reference in New Issue
Block a user