aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-11-14 15:45:02 +0100
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:08:40 +0100
commit0d6d3c87a232cc27641dde3491d75c8021745d02 (patch)
tree7868a1d6e1818cb15f0c3543dd3d02d5ea6fb8ba /arch_init.c
parent803ef03257a9ee375f08ca7a89e009ea12bc17a4 (diff)
exec: change ramlist from MRU order to a 1-item cache
Most of the time, only 2 items will be active (from/to for a string operation, or code/data). But TCG guests likely won't have gigabytes of memory, so this actually goes down to 1 item. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c
index e01f0e5ea1..6695ccfdc5 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -48,6 +48,7 @@
#include "qemu/config-file.h"
#include "qmp-commands.h"
#include "trace.h"
+#include "exec/cpu-all.h"
#ifdef DEBUG_ARCH_INIT
#define DPRINTF(fmt, ...) \