diff options
author | Wang Yong <yongw.kernel@gmail.com> | 2023-02-02 11:13:42 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-02-08 04:58:19 +0300 |
commit | 5bad5d55d884d57acba92a3309cde4cbb26dfefc (patch) | |
tree | 38450ee6586f2f6ff88f4dad7f858bbc1361df88 /include/linux/kvm_host.h | |
parent | b1cb1fac22abf102ffeb29dd3eeca208a3869d54 (diff) | |
download | linux-5bad5d55d884d57acba92a3309cde4cbb26dfefc.tar.xz |
KVM: update code comment in struct kvm_vcpu
Commit c5b077549136 ("KVM: Convert the kvm->vcpus array to a xarray")
changed kvm->vcpus array to a xarray, so update the code comment of
kvm_vcpu->vcpu_idx accordingly.
Signed-off-by: Wang Yong <yongw.kernel@gmail.com>
Link: https://lore.kernel.org/r/20230202081342.856687-1-yongw.kernel@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index a7d6a6111f5e..8ada23756b0e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -324,7 +324,7 @@ struct kvm_vcpu { #endif int cpu; int vcpu_id; /* id given by userspace at creation */ - int vcpu_idx; /* index in kvm->vcpus array */ + int vcpu_idx; /* index into kvm->vcpu_array */ int ____srcu_idx; /* Don't use this directly. You've been warned. */ #ifdef CONFIG_PROVE_RCU int srcu_depth; |