On 07.04.2011, at 05:02, David Gibson wrote: > From: Alexey Kardashevskiy <a...@ozlabs.ru> > > When configured with --enable-debug, the makefile does not use any > optimization and compilation of hw/ppce500_mpc8544ds.c fails because gcc > does not remove the never called without kvm function > mpc8544_copy_soc_cell(), which will fail to link without the kvm code.
I'm not sure I can follow. So the problem is that we call kvmppc_read_host_property and don't provide a stub wrapper for it? Let's provide a wrapper then instead of crippling the target code :) Alex