Commit 1d8b289
authored
Fix confusing log message when checking present hypervisor (#422)
* Removes the word 'Error' from non-error log messages when checking if specific hypervisors exist. This caused confusion if both kvm and mshv cargo features were enabled
Signed-off-by: Ludvig Liljenberg <[email protected]>
* Use Mshv::new() instead of Mshv::open_with_cloexec() to avoid manually needing to close fd
Signed-off-by: Ludvig Liljenberg <[email protected]>
---------
Signed-off-by: Ludvig Liljenberg <[email protected]>1 parent 34eb326 commit 1d8b289
File tree
5 files changed
+13
-15
lines changed- src
- hyperlight_host/src/hypervisor
- tests/rust_guests
- callbackguest
- simpleguest
5 files changed
+13
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
283 | 278 | | |
284 | 279 | | |
285 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments