aboutsummaryrefslogtreecommitdiff
path: root/target/i386/kvm/tdx-stub.c
blob: 1f0e108a69ead01f6861505c9339fcb0437f851a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "qemu/osdep.h"

#include "tdx.h"

int tdx_pre_create_vcpu(CPUState *cpu, Error **errp)
{
    return -EINVAL;
}

int tdx_parse_tdvf(void *flash_ptr, int size)
{
    return -EINVAL;
}

int tdx_handle_report_fatal_error(X86CPU *cpu, struct kvm_run *run)
{
    return -EINVAL;
}

void tdx_handle_get_quote(X86CPU *cpu, struct kvm_run *run)
{
}

void tdx_handle_get_tdvmcall_info(X86CPU *cpu, struct kvm_run *run)
{
}

void tdx_handle_setup_event_notify_interrupt(X86CPU *cpu, struct kvm_run *run)
{
}