Re: [Qemu-devel] [PATCH] ppc440: Avoid reporting error when reading non-existent RAM slot

2019-01-10 Thread David Gibson
On Wed, Jan 09, 2019 at 11:37:33PM +0100, BALATON Zoltan wrote: > When reading base register of RAM slot with no RAM we should not try > to calculate register value because that will result printing an error > due to invalid RAM size. Just return 0 without the error in this case. > > Signed-off-by

[Qemu-devel] [PATCH] ppc440: Avoid reporting error when reading non-existent RAM slot

2019-01-09 Thread BALATON Zoltan
When reading base register of RAM slot with no RAM we should not try to calculate register value because that will result printing an error due to invalid RAM size. Just return 0 without the error in this case. Signed-off-by: BALATON Zoltan --- hw/ppc/ppc440_uc.c | 6 -- 1 file changed, 4 in