Skip to content

Commit 945e218

Browse files
committed
Set the overriden virtiofsd binary path to absolute
Signed-off-by: Nick Downs <nickryand@gmail.com>
1 parent a8b0c83 commit 945e218

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
target/
1+
target/
2+
.flox

crates/bcvk-qemu/src/virtiofsd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub async fn spawn_virtiofsd_async(config: &VirtiofsConfig) -> Result<tokio::pro
6969
if !path.exists() {
7070
return Err(eyre!("Explicit virtiofsd binary not found at: {}", path));
7171
}
72-
path.to_string()
72+
camino::absolute_utf8(path)?.to_string()
7373
} else {
7474
// Try common virtiofsd binary locations
7575
let virtiofsd_paths = [

0 commit comments

Comments
 (0)