Re: [Qemu-devel] [PATCH 09/13] Only TCG needs TLB handling

2012-06-29 Thread Blue Swirl
On Fri, Jun 29, 2012 at 4:44 PM, Juan Quintela wrote: > Refactor the code that is only needed for tcg to an static function. > Call that only when tcg is enabled.  We can't refactor to a dummy > function in the kvm case, as qemu can be compiled at the same time > with tcg and kvm. > > Signed-off-b

[Qemu-devel] [PATCH 09/13] Only TCG needs TLB handling

2012-06-29 Thread Juan Quintela
Refactor the code that is only needed for tcg to an static function. Call that only when tcg is enabled. We can't refactor to a dummy function in the kvm case, as qemu can be compiled at the same time with tcg and kvm. Signed-off-by: Juan Quintela --- exec.c | 31 +