tests/acceptance: verify s390x device detection
[qemu/ar7.git] / target / i386 / sev-stub.c
blob88e3f39a1e609097e79600c43bd549c589615d37
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 "sev_i386.h"
17 SevInfo *sev_get_info(void)
19 return NULL;
22 bool sev_enabled(void)
24 return false;
27 uint64_t sev_get_me_mask(void)
29 return ~0;
32 uint32_t sev_get_cbit_position(void)
34 return 0;
37 uint32_t sev_get_reduced_phys_bits(void)
39 return 0;
42 char *sev_get_launch_measurement(void)
44 return NULL;
47 SevCapability *sev_get_capabilities(Error **errp)
49 error_setg(errp, "SEV is not available in this QEMU");
50 return NULL;