summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/vmm.h
blob: 1d1037b32a5e079725682d129c531bfa6df4ceb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "efi.h"

bool is_direct_boot(EFI_HANDLE device);
EFI_STATUS vmm_open(EFI_HANDLE *ret_vmm_dev, EFI_FILE **ret_vmm_dir);

bool in_hypervisor(void);

bool is_confidential_vm(void);

const char* smbios_find_oem_string(const char *name);