From 2b45c3f5008bf760e628126f0344c1effbee0714 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 30 Apr 2014 13:49:11 -0700 Subject: qemu/osdep: Remove the need for qemu_init_auxval Instead of getting backup auxv data from the env pointer given to main, read it from /proc/self/auxv. We can do this at any time, so we're not tied to any ordering wrt a call to qemu_init_auxval from main. Tested-by: Tom Musta Signed-off-by: Richard Henderson --- vl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index ab8f152..9a05a6b 100644 --- a/vl.c +++ b/vl.c @@ -2974,7 +2974,6 @@ int main(int argc, char **argv, char **envp) rtc_clock = QEMU_CLOCK_HOST; - qemu_init_auxval(envp); qemu_cache_utils_init(); QLIST_INIT (&vm_change_state_head); -- cgit v1.1