diff --git a/src/runtime-rs/crates/hypervisor/src/ch/inner.rs b/src/runtime-rs/crates/hypervisor/src/ch/inner.rs index dfab644d15..fd771861cf 100644 --- a/src/runtime-rs/crates/hypervisor/src/ch/inner.rs +++ b/src/runtime-rs/crates/hypervisor/src/ch/inner.rs @@ -83,7 +83,8 @@ impl CloudHypervisorInner { capabilities.set( CapabilityBits::BlockDeviceSupport | CapabilityBits::BlockDeviceHotplugSupport - | CapabilityBits::FsSharingSupport, + | CapabilityBits::FsSharingSupport + | CapabilityBits::HybridVsockSupport, ); let (tx, rx) = channel(true); diff --git a/src/runtime-rs/crates/hypervisor/src/ch/inner_hypervisor.rs b/src/runtime-rs/crates/hypervisor/src/ch/inner_hypervisor.rs index e10a557e06..1ee84461ba 100644 --- a/src/runtime-rs/crates/hypervisor/src/ch/inner_hypervisor.rs +++ b/src/runtime-rs/crates/hypervisor/src/ch/inner_hypervisor.rs @@ -690,11 +690,14 @@ impl CloudHypervisorInner { let flags = if guest_protection_is_tdx(self.guest_protection_to_use.clone()) { // TDX does not permit the use of virtio-fs. - CapabilityBits::BlockDeviceSupport | CapabilityBits::BlockDeviceHotplugSupport + CapabilityBits::BlockDeviceSupport + | CapabilityBits::BlockDeviceHotplugSupport + | CapabilityBits::HybridVsockSupport } else { CapabilityBits::BlockDeviceSupport | CapabilityBits::BlockDeviceHotplugSupport | CapabilityBits::FsSharingSupport + | CapabilityBits::HybridVsockSupport }; caps.set(flags); diff --git a/src/runtime-rs/crates/hypervisor/src/dragonball/inner.rs b/src/runtime-rs/crates/hypervisor/src/dragonball/inner.rs index 68d4d7fbe2..7879f1c44a 100644 --- a/src/runtime-rs/crates/hypervisor/src/dragonball/inner.rs +++ b/src/runtime-rs/crates/hypervisor/src/dragonball/inner.rs @@ -76,7 +76,8 @@ impl DragonballInner { capabilities.set( CapabilityBits::BlockDeviceSupport | CapabilityBits::BlockDeviceHotplugSupport - | CapabilityBits::FsSharingSupport, + | CapabilityBits::FsSharingSupport + | CapabilityBits::HybridVsockSupport, ); DragonballInner { id: "".to_string(),