[PATCH v2 00/21] qemu-kvm: Hook cleanups and extended use of upstream code

Jan Kiszka
2010-02-03T08:54:19Z

This version addresses the feedback on v2, namely:
- assert(<vm stopped> || <current thread == env->thread>) on low-level
load/save registers
- fixed mpstate initialization

Yet untested is -no-kvm-irqchip with smp due to some bug in unpatched
qemu-kvm or the kernel modules. Still investigating.

Pull URL is still

git://git.kiszka.org/qemu-kvm.git queues/vcpu-state

PS: The corresponding upstream queue is now available under
queues/kvm-upstream in the same repository. Will send it out later if
there are no further remarks on this series to avoid flooding the
mailing lists. Early testers are nevertheless welcome.

Jan Kiszka (21):
qemu-kvm: Drop vmport changes
KVM: Make vmport KVM-compatible
qemu-kvm: Clean up register access API
KVM: x86: Fix up misreported CPU features
qemu-kvm: Use upstream kvm_enabled and cpu_synchronize_state
qemu-kvm: Use upstream kvm_setup_guest_memory
qemu-kvm: Use some more upstream prototypes
qemu-kvm: Use upstream kvm_arch_get_supported_cpuid
qemu-kvm: Use upstream kvm_pit_in_kernel
KVM: Move and rename regs_modified
KVM: Rework of guest debug state writing
qemu-kvm: Use upstream kvm_vcpu_dirty
qemu-kvm: Use upstream guest debug code
qemu-kvm: Rework VCPU state writeback API
qemu-kvm: Clean up mpstate synchronization
KVM: x86: Restrict writeback of VCPU state
qemu-kvm: Use VCPU event state for reset and vmsave/load
qemu-kvm: Cleanup/fix TSC and PV clock writeback
qemu-kvm: Clean up KVM's APIC hooks
qemu-kvm: Move kvm_set_boot_cpu_id
qemu-kvm: Bring qemu_init_vcpu back home

cpu-defs.h | 2 +-
exec.c | 17 --
hw/apic.c | 47 +-----
hw/i8254.c | 6 +-
hw/i8259.c | 2 +-
hw/ioapic.c | 2 +-
hw/msix.c | 3 +-
hw/pc.c | 13 +--
hw/pcspk.c | 4 +-
hw/piix_pci.c | 2 +-
hw/ppc_newworld.c | 3 -
hw/ppc_oldworld.c | 3 -
hw/s390-virtio.c | 1 -
hw/vmport.c | 14 +--
kvm-all.c | 51 +++---
kvm.h | 35 +++--
qemu-kvm-ia64.c | 6 +-
qemu-kvm-x86.c | 433 +++++++++++--------------------------------------
qemu-kvm.c | 165 +++----------------
qemu-kvm.h | 161 ++-----------------
savevm.c | 4 +
sysemu.h | 4 +
target-i386/cpu.h | 9 +-
target-i386/helper.c | 2 +
target-i386/kvm.c | 61 +++++--
target-i386/machine.c | 27 ---
target-ia64/machine.c | 5 +-
target-ppc/kvm.c | 2 +-
target-ppc/machine.c | 4 -
target-s390x/kvm.c | 3 +-
vl.c | 32 ++++-
31 files changed, 298 insertions(+), 825 deletions(-)