From: Glauber Costa <address@hidden>
This patch introduces QEMUAccel, a placeholder for function pointers
that aims at helping qemu to abstract accelerators such as kqemu and
kvm (actually, the 'accelerator' name was proposed by avi kivity, since
he loves referring to kvm that way).
To begin with, the accelerator is given the opportunity to register a
cpu_interrupt function, to be called after the raw cpu_interrupt.
This has the side effect of, for the kqemu accelerator, calling
kqemu_cpu_interrupt
everytime, which didn't use to happen. But looking at the code, this seems safe
to me.
This patch applies on raw qemu.