diff options
author | Chao Peng <chao.p.peng@linux.intel.com> | 2022-08-16 20:53:21 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-19 04:05:40 -0400 |
commit | bdd1c37a315bc50ab14066c4852bc8dcf070451e (patch) | |
tree | f089122e82189578b8f8fa9feab5f20213da889a /arch | |
parent | b075450868dbc0950f0942617f222eeb989cad10 (diff) | |
download | linux-stable-bdd1c37a315bc50ab14066c4852bc8dcf070451e.tar.gz linux-stable-bdd1c37a315bc50ab14066c4852bc8dcf070451e.tar.bz2 linux-stable-bdd1c37a315bc50ab14066c4852bc8dcf070451e.zip |
KVM: Rename KVM_PRIVATE_MEM_SLOTS to KVM_INTERNAL_MEM_SLOTS
KVM_INTERNAL_MEM_SLOTS better reflects the fact those slots are KVM
internally used (invisible to userspace) and avoids confusion to future
private slots that can have different meaning.
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Message-Id: <20220816125322.1110439-2-chao.p.peng@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 5ffa578cafe1..2c96c43c313a 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -53,7 +53,7 @@ #define KVM_MAX_VCPU_IDS (KVM_MAX_VCPUS * KVM_VCPU_ID_RATIO) /* memory slots that are not exposed to userspace */ -#define KVM_PRIVATE_MEM_SLOTS 3 +#define KVM_INTERNAL_MEM_SLOTS 3 #define KVM_HALT_POLL_NS_DEFAULT 200000 |