We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05da3a commit 057ed6aCopy full SHA for 057ed6a
openvmm/openvmm_entry/src/lib.rs
@@ -193,6 +193,8 @@ fn vm_config_from_command_line(
193
opt: &Options,
194
) -> anyhow::Result<(Config, VmResources)> {
195
let (_, serial_driver) = DefaultPool::spawn_on_thread("serial");
196
+ // Ensure the serial driver stays alive with no tasks.
197
+ serial_driver.spawn("leak", pending::<()>()).detach();
198
199
let openhcl_vtl = if opt.vtl2 {
200
DeviceVtl::Vtl2
0 commit comments