summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-10 19:18:40 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-10 19:18:40 +0000
commit902b3d5c392bb6f48ef340ad8ecc3311705d2800 (patch)
treecad585902aebf14be473f75fe5bf9c09b4e1b7a1 /vl.c
parent4fbfcd6d53cffc5cde141df7afa9045a4987b5cd (diff)
downloadqemu-902b3d5c392bb6f48ef340ad8ecc3311705d2800.tar.gz
Introduce and use cache-utils.[ch]
Thanks to Segher Boessenkool and Holis Blanchard. AIX and Darwin cache inquiry: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00388.html Auxiliary vectors: http://manugarg.googlepages.com/aboutelfauxiliaryvectors git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5973 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index c6d888ce4d..c3a8d8fc9a 100644
--- a/vl.c
+++ b/vl.c
@@ -36,6 +36,7 @@
#include "gdbstub.h"
#include "qemu-timer.h"
#include "qemu-char.h"
+#include "cache-utils.h"
#include "block.h"
#include "audio/audio.h"
#include "migration.h"
@@ -4456,7 +4457,7 @@ static void termsig_setup(void)
#endif
-int main(int argc, char **argv)
+int main(int argc, char **argv, char **envp)
{
#ifdef CONFIG_GDBSTUB
int use_gdbstub;
@@ -4494,6 +4495,8 @@ int main(int argc, char **argv)
int autostart;
const char *incoming = NULL;
+ qemu_cache_utils_init(envp);
+
LIST_INIT (&vm_change_state_head);
#ifndef _WIN32
{