aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-30 13:49:11 -0700
committerRichard Henderson <rth@twiddle.net>2014-06-23 07:32:27 -0700
commit2b45c3f5008bf760e628126f0344c1effbee0714 (patch)
tree03838224e3f7a2ca7995052f5fa557aecf456f3a /vl.c
parent40d964b563d144cae459c39fd6e3a6cd7b34127a (diff)
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 <tommusta@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index ab8f15243b..9a05a6bd95 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);