You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`linux-image` is the path to the Linux kernel `Image`.
84
84
*`dtb-file` is optional, as it specifies the user-specified device tree blob.
85
85
*`initrd-image` is optional, as it specifies the user-specified initial RAM disk image.
86
86
*`disk-image` is optional, as it specifies the path of a disk image in ext4 file system for the virtio-blk device.
87
+
*`shared-directory` is optional, as it specifies the path of a directory on the host that will be shared with the guest operating system through virtio-fs, enabling file access from the guest via a virtual filesystem mount.
88
+
89
+
## Mount and unmount a directory in semu
90
+
91
+
To mount the directory in semu:
92
+
93
+
```shell
94
+
$ mount -t virtiofs myfs [shared-directory]
95
+
```
96
+
97
+
*`shared-directory` is the path of a directory you want to mount in semu.
98
+
99
+
To unmount the directory in semu:
100
+
101
+
```shell
102
+
$ umount [shared-directory]
103
+
```
104
+
105
+
*`shared-directory` is the path of a directory you want to unmount in semu.
0 commit comments