linux-headers: ioctl KVM_MEMORY_ENCRYPT_{READ,WRITE}_MEMORY
Pull only KVM_MEMORY_ENCRYPT_{READ,WRITE}_MEMORY ioctl definition to make this series workable. Signed-off-by: Yao Yuan <yuan.yao@intel.com>
This commit is contained in:
committed by
Nikolay Borisov
parent
4f4e12bb07
commit
ee291bd628
@@ -1256,6 +1256,9 @@ struct kvm_ppc_resize_hpt {
|
||||
|
||||
/* TODO: remove this workaround to avoid CAP number conflict in the upstream. */
|
||||
#define KVM_CAP_MEMORY_ATTRIBUTES 500
|
||||
|
||||
#define KVM_CAP_ENCRYPT_MEMORY_DEBUG 300
|
||||
|
||||
#define KVM_CAP_VM_TYPES 1000
|
||||
|
||||
#ifdef KVM_CAP_IRQ_ROUTING
|
||||
@@ -1936,6 +1939,10 @@ struct kvm_xen_vcpu_attr {
|
||||
#define KVM_XEN_VCPU_ATTR_TYPE_TIMER 0x7
|
||||
#define KVM_XEN_VCPU_ATTR_TYPE_UPCALL_VECTOR 0x8
|
||||
|
||||
/* Read/write encrypted guest memory, for guest debugging support in QEMU*/
|
||||
#define KVM_MEMORY_ENCRYPT_READ_MEMORY _IOWR(KVMIO, 0xcc, struct kvm_rw_memory)
|
||||
#define KVM_MEMORY_ENCRYPT_WRITE_MEMORY _IOWR(KVMIO, 0xcd, struct kvm_rw_memory)
|
||||
|
||||
/* Secure Encrypted Virtualization command */
|
||||
enum sev_cmd_id {
|
||||
/* Guest initialization commands */
|
||||
|
Reference in New Issue
Block a user