runtime-rs: CH 客户端内存是无条件共享的,这与 Go 运行时不同
作者: alexander-turner创建于 2026年9月21日更新于 2026年9月21日
标签bugneeds-review
问题描述 convert.rs (src/runtime-rs/crates/hypervisor/ch-config/src/) 为每个非模板 VM 硬编码了 MemoryConfig 的 shared: true,并在注释中写着 // Required。Go 运行时不会将其设置为 false,当 SharedFS == NoSharedFS && !HugePages 时。在使用 Cloud Hypervisor 的 runtime-rs 中,启动具有 shared_fs = "none" 和没有巨大页的沙箱。
内容来源: kata-containers/kata-containers