mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
9b02f7bf85
commit
b20e37801f
7 changed files with 83 additions and 2 deletions
|
@ -231,6 +231,15 @@ int kvm_destroy_vcpu(CPUState *cpu);
|
|||
*/
|
||||
bool kvm_arm_supports_user_irq(void);
|
||||
|
||||
/**
|
||||
* kvm_memcrypt_enabled - return boolean indicating whether memory encryption
|
||||
* is enabled
|
||||
* Returns: 1 memory encryption is enabled
|
||||
* 0 memory encryption is disabled
|
||||
*/
|
||||
bool kvm_memcrypt_enabled(void);
|
||||
|
||||
|
||||
#ifdef NEED_CPU_H
|
||||
#include "cpu.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue