Function crosvm::crosvm::sys::unix::device_helpers::create_balloon_device
source · pub fn create_balloon_device(
protection_type: ProtectionType,
jail_config: &Option<JailConfig>,
mode: BalloonMode,
tube: Tube,
inflate_tube: Option<Tube>,
init_balloon_size: u64,
enabled_features: u64,
registered_evt_q: Option<SendTube>
) -> Result<VirtioDeviceStub>