]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
Only TCG needs TLB handling
authorJuan Quintela <quintela@redhat.com>
Mon, 21 May 2012 22:42:40 +0000 (00:42 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 29 Jun 2012 11:27:28 +0000 (13:27 +0200)
commitd24981d37e793b0a8fcde1879db19eb11fe0f975
tree4e9d11cda26e573692d2cbb366b6ef2f0a5b6180
parentaac844ed97c39b8c0fb16d7bf9851fdedf325be3
Only TCG needs TLB handling

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 <quintela@redhat.com>
exec.c