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)
commit48f4dbfb8e23d38067a11800f9e00c122e8d336c
treeba4403df5a9b47e6ff26bce8db41864ca665c5ce
parent15ab1500cb694f1d91b799ddfefd571a9f0ea2eb
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