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 d7e6151 commit d627337Copy full SHA for d627337
1 file changed
dstack/vmm/src/app/qemu.rs
@@ -234,8 +234,7 @@ impl PreparedQemuLaunch {
234
} else {
235
None
236
};
237
- let attach_swtpm = vm.manifest.swtpm;
238
- let (swtpm_socket, swtpm_path) = if attach_swtpm {
+ let (swtpm_socket, swtpm_path) = if vm.manifest.swtpm {
239
let swtpm_path = which::which("swtpm")
240
.context("tpm key provider requested but swtpm is not installed")?;
241
let state_dir = workdir.swtpm_state_dir();
0 commit comments