Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/krun-sys/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024-2026 The Asahi Linux Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 1 addition & 2 deletions crates/muvm/src/bin/muvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,13 @@ fn main() -> Result<ExitCode> {
add_ro_disk(ctx_id, &path, &path).context("Failed to configure disk")?;
}

{
{
// SAFETY: `root_path` is a pointer to a C-string literal.
let err = unsafe { krun_set_root(ctx_id, c"/".as_ptr()) };
if err < 0 {
let err = Errno::from_raw_os_error(-err);
return Err(err).context("Failed to configure root path");
}

// SAFETY: `c_path` and `c_path` are pointers to C-string literals.
let err = unsafe {
krun_add_virtiofs2(
Expand Down