diff --git a/src/runtime-rs/crates/resource/src/share_fs/virtio_fs_share_mount.rs b/src/runtime-rs/crates/resource/src/share_fs/virtio_fs_share_mount.rs index b0640c4bf4..27fb47972a 100644 --- a/src/runtime-rs/crates/resource/src/share_fs/virtio_fs_share_mount.rs +++ b/src/runtime-rs/crates/resource/src/share_fs/virtio_fs_share_mount.rs @@ -196,7 +196,7 @@ impl ShareFsMount for VirtiofsShareMount { async fn umount_volume(&self, file_name: &str) -> Result<()> { let host_dest = do_get_host_path(file_name, &self.id, "", true, false); - umount_timeout(host_dest, 0).context("umount volume")?; + umount_timeout(&host_dest, 0).context("umount volume")?; // Umount event will be propagated to ro directory // Remove the directory of mointpoint diff --git a/src/runtime/virtcontainers/hypervisor.go b/src/runtime/virtcontainers/hypervisor.go index 1ed0ba843d..a39213dc1c 100644 --- a/src/runtime/virtcontainers/hypervisor.go +++ b/src/runtime/virtcontainers/hypervisor.go @@ -51,7 +51,7 @@ const ( // RemoteHypervisor is the Remote hypervisor. RemoteHypervisor HypervisorType = "remote" - + // VirtFrameworkHypervisor is the Darwin Virtualization.framework hypervisor VirtframeworkHypervisor HypervisorType = "virtframework"