Greg Kurz 8db29ea239 KVM: PPC: Book3S HV: XIVE: Compute the VP id in a common helper
Reduce code duplication by consolidating the checking of vCPU ids and VP
ids to a common helper used by both legacy and native XIVE KVM devices.
And explain the magic with a comment.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-10-22 16:29:02 +11:00
..
2019-09-25 17:51:41 -07:00
2019-10-12 15:37:12 -07:00
2019-10-12 15:37:12 -07:00
2019-10-12 15:37:12 -07:00
2019-09-27 13:02:19 -07:00
2019-09-25 17:51:41 -07:00