Re: [kvm-unit-tests PATCH 18/18] arm/arm64: uart0_init: check /chosen/stdout-path

2015-11-10 Thread Paolo Bonzini
On 06/11/2015 01:24, Andrew Jones wrote: > Arguably all of uart0_init() is unnecessary, as we're pretty sure > that the address we initialize uart0_base to is correct. We go > through the motions of finding the uart anyway though, because it's > easy. It's also easy to check chosen/stdout-path fi

[kvm-unit-tests PATCH 18/18] arm/arm64: uart0_init: check /chosen/stdout-path

2015-11-05 Thread Andrew Jones
Arguably all of uart0_init() is unnecessary, as we're pretty sure that the address we initialize uart0_base to is correct. We go through the motions of finding the uart anyway though, because it's easy. It's also easy to check chosen/stdout-path first, so let's do that too. But, just to make all th