Re: [Qemu-devel] [PATCH v1 14/15] cpu-common: Define tb_page_addr_t for everyone

2015-09-11 Thread Paolo Bonzini
On 11/09/2015 07:39, Peter Crosthwaite wrote: > So this is the same as in RFCv2 and the comment there was that it will not > work for linux-user mode WRT to qom/cpu.h fn prototypes needed this def. > But the solution there is instead to conditionalise the def of those hooks on > NEED_CPU_H. Then

[Qemu-devel] [PATCH v1 14/15] cpu-common: Define tb_page_addr_t for everyone

2015-09-10 Thread Peter Crosthwaite
In system mode emulation (at least) this definition has no architecture specific dependencies. Move it to common code such that common code can use it (primarily for defining function prototypes). Signed-off-by: Peter Crosthwaite --- So this is the same as in RFCv2 and the comment there was that