Re: [Qemu-devel] [PATCH v3 1/2] target-ppc: Define kvmppc_read_int_dt()

2015-11-16 Thread David Gibson
On Fri, Nov 13, 2015 at 06:13:07PM -0800, Sukadev Bhattiprolu wrote: > Extract code from the function kvmppc_read_int_cpu_dt() that actually > reads the file into a separate function, so it can be called from > other places. > > Signed-off-by: Sukadev Bhattiprolu Looks like a nice generalization

[Qemu-devel] [PATCH v3 1/2] target-ppc: Define kvmppc_read_int_dt()

2015-11-13 Thread Sukadev Bhattiprolu
Extract code from the function kvmppc_read_int_cpu_dt() that actually reads the file into a separate function, so it can be called from other places. Signed-off-by: Sukadev Bhattiprolu --- target-ppc/kvm.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(