aboutsummaryrefslogtreecommitdiff
path: root/accel/stubs/kvm-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel/stubs/kvm-stub.c')
-rw-r--r--accel/stubs/kvm-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index ca38172884..8e0eb22e61 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -129,3 +129,8 @@ bool kvm_hwpoisoned_mem(void)
{
return false;
}
+
+int kvm_create_guest_memfd(uint64_t size, uint64_t flags, Error **errp)
+{
+ return -ENOSYS;
+}