mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-04 19:16:12 +00:00
docs: switch to blockfile snapshotter for SEV-SNP in runtime-rs
Updated the configuration guide to use `shared_fs = "none"`. This change reflects that `virtio-9p` is deprecated in `runtime-rs` and recommends the blockfile snapshotter as a stable alternative to the buggy `virtio-fs` in SEV-SNP QEMU versions. But this's limited in the nerdctl or ctr tools. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
65b2a75aca
commit
8dae67794a
@@ -96,6 +96,10 @@ path = "/path/to/qemu/build/qemu-system-x86_64"
|
||||
```toml
|
||||
shared_fs = "virtio-9p"
|
||||
```
|
||||
- Use `blockfile` snapshotter: Since virtio-fs remains unsupported due to bugs in QEMU snp-v3, and virtio-9p is no longer supported in runtime-rs, it is recommended to use the blockfile snapshotter. This allows container images to be managed via block devices without relying on a shared file system. To enable this, set the `snapshotter` to `blockfile` in the containerd config file, please refer to [blockfile guide](https://github.com/containerd/containerd/blob/main/docs/snapshotters/blockfile.md) for more information. Additionally, shared_fs should be set to "none" since no shared file system is used.
|
||||
```toml
|
||||
shared_fs = "none"
|
||||
```
|
||||
- Disable `virtiofsd` since it is no longer required (comment out)
|
||||
```toml
|
||||
# virtio_fs_daemon = "/usr/libexec/virtiofsd"
|
||||
|
||||
Reference in New Issue
Block a user