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