diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2018-03-08 06:48:44 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-13 12:04:03 +0100 |
commit | b20e37801fc4a94ba40737541710c29c923e1c48 (patch) | |
tree | 73b9eef1e98a0c135097088ffca638645e0b454f /accel/stubs/kvm-stub.c | |
parent | 9b02f7bf8515961624ba0454209f39748dae4d88 (diff) |
kvm: add memory encryption context
Split from a patch by Brijesh Singh (brijesh.singh@amd.com).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'accel/stubs/kvm-stub.c')
-rw-r--r-- | accel/stubs/kvm-stub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index c964af3e1c..f83192d6f6 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -105,6 +105,11 @@ int kvm_on_sigbus(int code, void *addr) return 1; } +bool kvm_memcrypt_enabled(void) +{ + return false; +} + #ifndef CONFIG_USER_ONLY int kvm_irqchip_add_msi_route(KVMState *s, int vector, PCIDevice *dev) { |