1 | /* |
2 | * QEMU SEV stub |
3 | * |
4 | * Copyright Advanced Micro Devices 2018 |
5 | * |
6 | * Authors: |
7 | * Brijesh Singh <brijesh.singh@amd.com> |
8 | * |
9 | * This work is licensed under the terms of the GNU GPL, version 2 or later. |
10 | * See the COPYING file in the top-level directory. |
11 | * |
12 | */ |
13 | |
14 | #include "qemu/osdep.h" |
15 | #include "sev_i386.h" |
16 | |
17 | SevInfo *sev_get_info(void) |
18 | { |
19 | return NULL; |
20 | } |
21 | |
22 | bool sev_enabled(void) |
23 | { |
24 | return false; |
25 | } |
26 | |
27 | uint64_t sev_get_me_mask(void) |
28 | { |
29 | return ~0; |
30 | } |
31 | |
32 | uint32_t sev_get_cbit_position(void) |
33 | { |
34 | return 0; |
35 | } |
36 | |
37 | uint32_t sev_get_reduced_phys_bits(void) |
38 | { |
39 | return 0; |
40 | } |
41 | |
42 | char *sev_get_launch_measurement(void) |
43 | { |
44 | return NULL; |
45 | } |
46 | |
47 | SevCapability *sev_get_capabilities(void) |
48 | { |
49 | return NULL; |
50 | } |
51 | |