Skip to content

Commit 8e5ea00

Browse files
committed
fixup! Remove existing hypervisor_handler thread and associated
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 4d51a4b commit 8e5ea00

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

src/hyperlight_host/src/error.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,6 @@ pub enum HyperlightError {
122122
#[error("HostFunction {0} was not found")]
123123
HostFunctionNotFound(String),
124124

125-
/// An attempt to communicate with or from the Hypervisor Handler thread failed
126-
/// (i.e., usually a failure call to `.send()` or `.recv()` on a message passing
127-
/// channel)
128-
#[error("Communication failure with the Hypervisor Handler thread")]
129-
HypervisorHandlerCommunicationFailure(),
130-
131-
/// An attempt to cancel a Hypervisor Handler execution failed.
132-
/// See `terminate_hypervisor_handler_execution_and_reinitialise`
133-
/// for more details.
134-
#[error("Hypervisor Handler execution cancel attempt on a finished execution")]
135-
HypervisorHandlerExecutionCancelAttemptOnFinishedExecution(),
136-
137-
/// A Receive for a Hypervisor Handler Message Timedout
138-
#[error("Hypervisor Handler Message Receive Timedout")]
139-
HypervisorHandlerMessageReceiveTimedout(),
140-
141125
/// Reading Writing or Seeking data failed.
142126
#[error("Reading Writing or Seeking data failed {0:?}")]
143127
IOError(#[from] std::io::Error),

src/hyperlight_host/src/hypervisor/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ pub enum HyperlightExit {
113113
}
114114

115115
/// A common set of hypervisor functionality
116-
///
117-
/// Note: a lot of these structures take in an `Option<HypervisorHandler>`.
118-
/// This is because, if we are coming from the C API, we don't have a HypervisorHandler and have
119-
/// to account for the fact the Hypervisor was set up beforehand.
120116
pub(crate) trait Hypervisor: Debug + Sync + Send {
121117
/// Initialise the internally stored vCPU with the given PEB address and
122118
/// random number seed, then run it until a HLT instruction.

0 commit comments

Comments
 (0)