MCPcopy Create free account
hub / github.com/78/tenbox / IsHypervisorPresent

Method IsHypervisorPresent

src/platform/linux/vm_platform_linux.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include <unistd.h>
15
16bool VmPlatform::IsHypervisorPresent() {
17 return kvm::IsHypervisorPresent();
18}
19
20std::unique_ptr<HypervisorVm> VmPlatform::CreateHypervisor(uint32_t cpu_count) {
21 return kvm::KvmVm::Create(cpu_count);

Callers

nothing calls this directly

Calls 1

IsHypervisorPresentFunction · 0.50

Tested by

no test coverage detected