MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isKVM

Function isKVM

packages/cli/src/telemetry/agent_runtime.ts:300–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300function isKVM(): boolean {
301 if (platform() !== "linux") return false;
302 try {
303 const sysVendor = readFileSync("/sys/class/dmi/id/sys_vendor", "utf-8").trim();
304 return sysVendor === "QEMU" || sysVendor.includes("KVM");
305 } catch {
306 return false;
307 }
308}
309
310/**
311 * Gemini managed-agent sandbox — Google's Managed Agents runtime (the

Callers 1

detectSandboxRuntimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected