This patch introduces the -seed command line option and the QEMU_RAND_SEED environment variable for setting the random seed, which is used for the AT_RANDOM ELF aux entry.
This is an updated version of the patch, addressing review comments from Eric Blake.