Re: [PATCH 4.19 042/190] KVM: x86: hyperv: keep track of mismatched VP indexes

2019-09-15 Thread Pavel Machek
On Fri 2019-09-13 14:04:57, Greg Kroah-Hartman wrote: > [ Upstream commit 87ee613d076351950b74383215437f841ebbeb75 ] > > In most common cases VP index of a vcpu matches its vcpu index. Userspace is, > however, > free to set any mapping it wishes and we need to account for that when we > need

[PATCH 4.19 042/190] KVM: x86: hyperv: keep track of mismatched VP indexes

2019-09-13 Thread Greg Kroah-Hartman
[ Upstream commit 87ee613d076351950b74383215437f841ebbeb75 ] In most common cases VP index of a vcpu matches its vcpu index. Userspace is, however, free to set any mapping it wishes and we need to account for that when we need to find a vCPU with a particular VP index. To keep search algorithms