virtio-gpu: fix crashes upon warm reboot with vga mode
[qemu/ar7.git] / target / i386 / sev-stub.c
blob59a003a4ebe63a90402bb2055dc672554b1b575b
1 /*
2 * QEMU SEV stub
4 * Copyright Advanced Micro Devices 2018
6 * Authors:
7 * Brijesh Singh <brijesh.singh@amd.com>
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.
14 #include "qemu/osdep.h"
15 #include "qemu-common.h"
16 #include "sev_i386.h"
18 SevInfo *sev_get_info(void)
20 return NULL;
23 bool sev_enabled(void)
25 return false;
28 uint64_t sev_get_me_mask(void)
30 return ~0;
33 uint32_t sev_get_cbit_position(void)
35 return 0;
38 uint32_t sev_get_reduced_phys_bits(void)
40 return 0;
43 char *sev_get_launch_measurement(void)
45 return NULL;
48 SevCapability *sev_get_capabilities(void)
50 return NULL;