Function create_balloon_device

Source
pub fn create_balloon_device(
    protection_type: ProtectionType,
    jail_config: Option<&JailConfig>,
    tube: Tube,
    inflate_tube: Option<Tube>,
    init_balloon_size: u64,
    vm_memory_client: VmMemoryClient,
    enabled_features: u64,
    registered_evt_q: Option<SendTube>,
    ws_num_bins: u8,
) -> Result<VirtioDeviceStub>