mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 09:51:29 +00:00
Merge pull request #11468 from Apokleos/fix-sharefs-none
runtime-rs: Support shared fs with "none" on non-tee platforms
This commit is contained in:
commit
9a1d4fc5d6
@ -389,7 +389,9 @@ impl QemuInner {
|
||||
let mut caps = Capabilities::default();
|
||||
|
||||
// Confidential Guest doesn't permit virtio-fs.
|
||||
let flags = if self.hypervisor_config().security_info.confidential_guest {
|
||||
let flags = if self.hypervisor_config().security_info.confidential_guest
|
||||
|| self.hypervisor_config().shared_fs.shared_fs.is_none()
|
||||
{
|
||||
CapabilityBits::BlockDeviceSupport | CapabilityBits::BlockDeviceHotplugSupport
|
||||
} else {
|
||||
CapabilityBits::BlockDeviceSupport
|
||||
|
Loading…
Reference in New Issue
Block a user