Re: [Qemu-devel] [PATCH 3/5] spapr: rename spapr_vcpu_id() to spapr_get_vcpu_id()

2018-02-14 Thread David Gibson
On Wed, Feb 14, 2018 at 08:40:44PM +0100, Greg Kurz wrote: > The spapr_vcpu_id() function is an accessor actually. Let's rename it > for symmetry with the recently added spapr_set_vcpu_id() helper. > > The motivation behind this is that a later patch will consolidate > the VCPU id formula in a fun

[Qemu-devel] [PATCH 3/5] spapr: rename spapr_vcpu_id() to spapr_get_vcpu_id()

2018-02-14 Thread Greg Kurz
The spapr_vcpu_id() function is an accessor actually. Let's rename it for symmetry with the recently added spapr_set_vcpu_id() helper. The motivation behind this is that a later patch will consolidate the VCPU id formula in a function and spapr_vcpu_id looks like an appropriate name. Signed-off-b