commit | 0e4524a5d341e719e8ee9ee7db5d58e2c5a4c10e | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Thu Jul 06 14:44:28 2017 +0200 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Fri Jul 07 13:00:19 2017 +0200 |
tree | 8bbd2dce248814dd8711ded32a19a8e982dba1ae | |
parent | 1372324b328cd5dabaef5e345e37ad48c63df2a9 [diff] |
KVM: mark vcpu->pid pointer as rcu protected We do use rcu to protect the pid pointer. Mark it as such and adopt all code to use the proper access methods. This was detected by sparse. "virt/kvm/kvm_main.c:2248:15: error: incompatible types in comparison expression (different address spaces)" Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>