Skip to content

Commit d7f481b

Browse files
committed
implement from kvm_ioctls::Error for HyperlightError
Signed-off-by: Simon Davies <[email protected]>
1 parent e6cd45b commit d7f481b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ pub enum HyperlightError {
178178
/// Error occurred in KVM Operation
179179
#[error("KVM Error {0:?}")]
180180
#[cfg(kvm)]
181-
KVMError(#[source] kvm_ioctls::Error),
181+
KVMError(#[from] kvm_ioctls::Error),
182182

183183
/// An attempt to get a lock from a Mutex failed.
184184
#[error("Unable to lock resource")]

0 commit comments

Comments
 (0)