Avi/Marcelo Please include this in a branch in qemu-kvm for future inclusion in qemu.git. It is the same material people have already commented on in the ML.
Glauber Costa (11): Don't mess with halted state. store thread-specific env information update halted state on mp_state sync qemu_flush_work for remote vcpu execution tell kernel about all registers instead of just mp_state flush state in migration post_load Don't call kvm cpu reset on initialization use cpu_kick instead of direct signalling. Use per-cpu reset handlers. Use __thread where available. remove smp restriction from kvm configure | 17 ++++++++ cpu-all.h | 3 + cpu-defs.h | 16 ++++++++ exec-all.h | 12 ++++++ exec.c | 32 ++++++++++++++++ hw/apic-kvm.c | 26 +++++++----- kvm-all.c | 49 +++++++++--------------- kvm.h | 10 +++++ target-i386/kvm.c | 12 ++++++ target-ppc/kvm.c | 5 ++ vl.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 11 files changed, 244 insertions(+), 46 deletions(-)