Spin-off from my longer series as Marcelo asked for the last patch as
the next step. I don't see any value in reordering the series, so I just
but off the lower bits.
This part mostly cleans up common KVM code that is also present
upstream. It also includes the fixed guest debug writeback, first for
upstream (patch 8 should be queued into uq/master as well), then merged
into qemu-kvm while dropping the qemu-kvm copy of the guest debugging
code.
The differences to previous postings of the full series are:
- rebased over qemu-kvm
- fixed guest state writeback to avoid conflicts with SET_VCPU_EVENTS,
rather use them on modern kernels (I know Gleb will hate me for this,
but I'm convinced it's cleaner that way)