File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff 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 ) , 
Original file line number Diff line number Diff 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. 
120116pub ( 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. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments