master
c 36 lines 727 Bytes
Raw
1 /*
2 * QEMU SEV system 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 "monitor/monitor.h"
16 #include "monitor/hmp.h"
17 #include "qapi/error.h"
18 #include "sev.h"
19
20 int sev_encrypt_flash(hwaddr gpa, uint8_t *ptr, uint64_t len, Error **errp)
21 {
22 g_assert_not_reached();
23 }
24
25 void sev_es_set_reset_vector(CPUState *cpu)
26 {
27 }
28
29 int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size)
30 {
31 g_assert_not_reached();
32 }
33
34 void pc_system_parse_sev_metadata(uint8_t *flash_ptr, size_t flash_size)
35 {
36 }