aboutsummaryrefslogtreecommitdiff
path: root/accel/kvm/sev-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel/kvm/sev-stub.c')
-rw-r--r--accel/kvm/sev-stub.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/accel/kvm/sev-stub.c b/accel/kvm/sev-stub.c
index 4f97452585..5db9ab8f00 100644
--- a/accel/kvm/sev-stub.c
+++ b/accel/kvm/sev-stub.c
@@ -15,12 +15,7 @@
#include "qemu-common.h"
#include "sysemu/sev.h"
-int sev_encrypt_data(void *handle, uint8_t *ptr, uint64_t len)
+int sev_guest_init(const char *id)
{
- abort();
-}
-
-void *sev_guest_init(const char *id)
-{
- return NULL;
+ return -1;
}