diff options
| author | Daniel Henrique Barboza | 2022-01-12 11:28:27 +0100 |
|---|---|---|
| committer | Cédric Le Goater | 2022-01-12 11:28:27 +0100 |
| commit | b580713a962ecb4b5aa928975799b8c9e970c880 (patch) | |
| tree | efea6d973fbd81389e55d5307185660a7f379f43 /blockdev.c | |
| parent | pnv_phb4_pec: use pnv_phb4_pec_get_phb_id() in pnv_pec_dt_xscom() (diff) | |
| download | qemu-b580713a962ecb4b5aa928975799b8c9e970c880.tar.gz qemu-b580713a962ecb4b5aa928975799b8c9e970c880.tar.xz qemu-b580713a962ecb4b5aa928975799b8c9e970c880.zip | |
ppc/pnv: set phb4 properties in stk_realize()
Moving all phb4 properties setup to stk_realize() keeps this logic in
a single place instead of having it scattered between stk_realize() and
pec_realize().
'phb->index' can be retrieved using stack->stack_no and
pnv_phb4_pec_get_phb_id(), deprecating the use of 'phb-id' alias that
was being used for this purpose in pec_realize().
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220111131027.599784-2-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
