mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS
KVM_MAX_VCPU_ID is not specifying the highest allowed vcpu-id, but the number of allowed vcpu-ids. This has already led to confusion, so rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS to make its semantics more clear Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210913135745.13944-3-jgross@suse.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1e254d0d86
commit
a1c42ddedf
14 changed files with 17 additions and 17 deletions
|
@ -39,8 +39,8 @@
|
|||
#include <asm/kvm_host.h>
|
||||
#include <linux/kvm_dirty_ring.h>
|
||||
|
||||
#ifndef KVM_MAX_VCPU_ID
|
||||
#define KVM_MAX_VCPU_ID KVM_MAX_VCPUS
|
||||
#ifndef KVM_MAX_VCPU_IDS
|
||||
#define KVM_MAX_VCPU_IDS KVM_MAX_VCPUS
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue