mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
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>
This commit is contained in:
committed by
Anthony Liguori
parent
8417cebfda
commit
d5ab9713d2
@@ -270,7 +270,10 @@ typedef struct QEMUSGList QEMUSGList;
|
||||
|
||||
typedef uint64_t pcibus_t;
|
||||
|
||||
void cpu_exec_init_all(unsigned long tb_size);
|
||||
void tcg_exec_init(unsigned long tb_size);
|
||||
bool tcg_enabled(void);
|
||||
|
||||
void cpu_exec_init_all(void);
|
||||
|
||||
/* CPU save/load. */
|
||||
void cpu_save(QEMUFile *f, void *opaque);
|
||||
|
||||
Reference in New Issue
Block a user