Thanks for reposting this Paolo.
I tested it by applying it on top of qemu. In libguestfs sources we
have a benchmark program called utils/boot-benchmark/boot-benchmark.
Using the qemu package from Fedora (qemu-2.6.0-3.fc24.x86_64):
$ killall -STOP firefox
$ ./boot-benchmark
Result: 2341.
From: Marc MarĂ
This optionrom is based on linuxboot.S.
Signed-off-by: Marc MarĂ
Signed-off-by: Richard W.M. Jones
Message-Id: <1464027093-24073-2-git-send-email-rjo...@redhat.com>
[Add -fno-toplevel-reorder, support clang without -m16. - Paolo]
Signed-off-by: Paolo Bonzini
---
.gitignore