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
Map MMIO region at 0xF48____ for virtio-fs device in semu.
Introduce special-case logic for char tag in virtio_fs config handling in semu.
Add inode_map linked list for mapping inodes to file paths.
Implement FUSE core operations:
- INIT
- GETATTR
- OPENDIR
- READDIRPLUS
- LOOKUP
- FORGET
- RELEASEDIR
- OPEN
- READ
- RELEASE
- FLUSH
- DESTROY
to make semu supports commands:`cd`, `cat`, `ls`.
Set default mount tag to "myfs" and mount directory to "./shared".
When `make check`, if MOUNT_DIRECTORY is not exist, then create a new one.
If -s parameter is empty, virtio-fs is unused.
Add the explanation about virtio-fs in `Usage` of README.md.
Add the introduction of how to mount and unmount in semu.
When the guest OS attempts an unsupported operation, it should receive a "operation not supported" response instead of hanging to improve the user experience.
Co-authored-by: ChinYikMing <[email protected]>
*`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