MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / BackendFeature

Enum BackendFeature

crates/openshell-driver-vm/src/lifecycle.rs:98–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96/// `FailedPrecondition` status.
97#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
98pub enum BackendFeature {
99 /// Extension supplies its own kernel image via
100 /// [`LaunchPlan::kernel_image`]. Currently QEMU-only.
101 ExternalKernelImage,
102 /// Extension contributes guest init drop-ins via
103 /// [`LaunchPlan::guest_init_dropins`]. Supported by all backends.
104 GuestInitDropins,
105 /// Extension needs PCI device passthrough on the guest. Currently
106 /// QEMU-only and currently rejected for non-GPU sandboxes pending the
107 /// non-GPU QEMU launch path landing.
108 PciPassthrough,
109 /// Extension needs a host TAP device wired into the guest. Currently
110 /// QEMU-only (libkrun does not expose a TAP transport).
111 TapNetworking,
112}
113
114impl BackendFeature {
115 #[must_use]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected