kvm.h (4f2c0a4acffbec01079c28f839422e64ddeff004) | kvm.h (19c654bf05ae33ad0a2a9c039d5fe7d411a8bb06) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2#ifndef __LINUX_KVM_S390_H 3#define __LINUX_KVM_S390_H 4/* 5 * KVM s390 specific structures and definitions 6 * 7 * Copyright IBM Corp. 2008, 2018 8 * --- 145 unchanged lines hidden (view full) --- 154 __u8 ppno[16]; /* with MSA5 */ 155 __u8 kma[16]; /* with MSA8 */ 156 __u8 kdsa[16]; /* with MSA9 */ 157 __u8 sortl[32]; /* with STFLE.150 */ 158 __u8 dfltcc[32]; /* with STFLE.151 */ 159 __u8 reserved[1728]; 160}; 161 | 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2#ifndef __LINUX_KVM_S390_H 3#define __LINUX_KVM_S390_H 4/* 5 * KVM s390 specific structures and definitions 6 * 7 * Copyright IBM Corp. 2008, 2018 8 * --- 145 unchanged lines hidden (view full) --- 154 __u8 ppno[16]; /* with MSA5 */ 155 __u8 kma[16]; /* with MSA8 */ 156 __u8 kdsa[16]; /* with MSA9 */ 157 __u8 sortl[32]; /* with STFLE.150 */ 158 __u8 dfltcc[32]; /* with STFLE.151 */ 159 __u8 reserved[1728]; 160}; 161 |
162#define KVM_S390_VM_CPU_PROCESSOR_UV_FEAT_GUEST 6 163#define KVM_S390_VM_CPU_MACHINE_UV_FEAT_GUEST 7 164 165#define KVM_S390_VM_CPU_UV_FEAT_NR_BITS 64 166struct kvm_s390_vm_cpu_uv_feat { 167 union { 168 struct { 169 __u64 : 4; 170 __u64 ap : 1; /* bit 4 */ 171 __u64 ap_intr : 1; /* bit 5 */ 172 __u64 : 58; 173 }; 174 __u64 feat; 175 }; 176}; 177 |
|
162/* kvm attributes for crypto */ 163#define KVM_S390_VM_CRYPTO_ENABLE_AES_KW 0 164#define KVM_S390_VM_CRYPTO_ENABLE_DEA_KW 1 165#define KVM_S390_VM_CRYPTO_DISABLE_AES_KW 2 166#define KVM_S390_VM_CRYPTO_DISABLE_DEA_KW 3 167#define KVM_S390_VM_CRYPTO_ENABLE_APIE 4 168#define KVM_S390_VM_CRYPTO_DISABLE_APIE 5 169 --- 123 unchanged lines hidden --- | 178/* kvm attributes for crypto */ 179#define KVM_S390_VM_CRYPTO_ENABLE_AES_KW 0 180#define KVM_S390_VM_CRYPTO_ENABLE_DEA_KW 1 181#define KVM_S390_VM_CRYPTO_DISABLE_AES_KW 2 182#define KVM_S390_VM_CRYPTO_DISABLE_DEA_KW 3 183#define KVM_S390_VM_CRYPTO_ENABLE_APIE 4 184#define KVM_S390_VM_CRYPTO_DISABLE_APIE 5 185 --- 123 unchanged lines hidden --- |