qemu/target/i386/sev-stub.c
<<
>>
Prefs
   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
  17SevInfo *sev_get_info(void)
  18{
  19    return NULL;
  20}
  21
  22bool sev_enabled(void)
  23{
  24    return false;
  25}
  26
  27uint64_t sev_get_me_mask(void)
  28{
  29    return ~0;
  30}
  31
  32uint32_t sev_get_cbit_position(void)
  33{
  34    return 0;
  35}
  36
  37uint32_t sev_get_reduced_phys_bits(void)
  38{
  39    return 0;
  40}
  41
  42char *sev_get_launch_measurement(void)
  43{
  44    return NULL;
  45}
  46
  47SevCapability *sev_get_capabilities(void)
  48{
  49    return NULL;
  50}
  51