Skip to main content

krun_disable_implicit_vsock

Function krun_disable_implicit_vsock 

Source
pub unsafe extern "C" fn krun_disable_implicit_vsock(
    ctx_id: u32,
) -> i32
Expand description

Disable the implicit vsock device.

By default, libkrun creates a vsock device automatically. This function disables that behavior entirely - no vsock device will be created.

Arguments: “ctx_id” - the configuration context ID.

Returns: Zero on success or a negative error number on failure.