]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
Avoid allocating TCG resources in non-TCG mode
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 2 Aug 2011 14:10:21 +0000 (16:10 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Aug 2011 15:57:36 +0000 (10:57 -0500)
commitd5ab9713d2d4037fd56b0adddd26c8d4dc11cf09
treeba4403df5a9b47e6ff26bce8db41864ca665c5ce
parent8417cebfda193c7f9ca70be5e308eaa92cf84b94
Avoid allocating TCG resources in non-TCG mode

Do not allocate TCG-only resources like the translation buffer when
running over KVM or XEN. Saves a "few" bytes in the qemu address space
and is also conceptually cleaner.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
bsd-user/main.c
darwin-user/main.c
exec.c
linux-user/main.c
qemu-common.h
target-i386/helper.c
target-ppc/helper.c
target-s390x/helper.c
vl.c