Re: [Qemu-devel] [RFC qom-cpu 02/41] cpu: Turn cpu_mmu_index() into a CPUClass hook

2013-09-04 Thread Andreas Färber
Am 04.09.2013 14:42, schrieb Jia Liu: > On Wed, Sep 4, 2013 at 5:04 PM, Andreas Färber wrote: >> Default to 0. >> >> Signed-off-by: Andreas Färber Paolo has indicated that patches 2 and 3 shouldn't be applied since they touch on TCG hot paths, replacing an inline function with a dispatched one,

Re: [Qemu-devel] [RFC qom-cpu 02/41] cpu: Turn cpu_mmu_index() into a CPUClass hook

2013-09-04 Thread Jia Liu
On Wed, Sep 4, 2013 at 5:04 PM, Andreas Färber wrote: > Default to 0. > > Signed-off-by: Andreas Färber > --- > cputlb.c | 7 +++ > include/exec/softmmu_header.h | 4 ++-- > include/qom/cpu.h | 15 +++ > qom/cpu.c | 6 ++

[Qemu-devel] [RFC qom-cpu 02/41] cpu: Turn cpu_mmu_index() into a CPUClass hook

2013-09-04 Thread Andreas Färber
Default to 0. Signed-off-by: Andreas Färber --- cputlb.c | 7 +++ include/exec/softmmu_header.h | 4 ++-- include/qom/cpu.h | 15 +++ qom/cpu.c | 6 ++ target-alpha/cpu.c| 14 ++ target-alpha/cpu.