Skip to content

qemu-kvm: Extended use of upstream code

Jan Kiszka kvm qemu-devel 1 version Applied

Status from this message: Applied all, some issues pointed out as reply to individual patch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9qemu-kvm: Drop vmport changeshw/vmport.c+1 -120 replies
2/9qemu-kvm: Clean up register access APIqemu-kvm-x86.c qemu-kvm.c qemu-kvm.h +1 more+17 -511 reply
3/9qemu-kvm: Use upstream kvm_enabled and cpu_synchronize_statehw/i8254.c hw/i8259.c hw/ioapic.c +6 more+11 -530 replies
4/9qemu-kvm: Use upstream kvm_setup_guest_memorykvm-all.c kvm.h qemu-kvm.c +1 more+1 -210 replies
5/9qemu-kvm: Use some more upstream prototypeskvm.h qemu-kvm.c qemu-kvm.h+11 -290 replies
6/9qemu-kvm: Use upstream kvm_arch_get_supported_cpuidkvm.h qemu-kvm-x86.c qemu-kvm.h +1 more+2 -1160 replies
7/9qemu-kvm: Use upstream kvm_pit_in_kernelhw/i8254.c hw/pc.c hw/pcspk.c +5 more+14 -300 replies
8/9KVM: Rework of guest debug state writingkvm-all.c target-i386/kvm.c+37 -121 reply
9/9qemu-kvm: Use upstream guest debug codekvm-all.c kvm.h qemu-kvm-x86.c +3 more+30 -2610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] qemu-kvm: Extended use of upstream code

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)

Pull URL is

git://git.kiszka.org/qemu-kvm.git queues/queues-kvm-merge

Jan Kiszka (9):
qemu-kvm: Drop vmport changes
qemu-kvm: Clean up register access API
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: Rework of guest debug state writing
qemu-kvm: Use upstream guest debug code

 hw/i8254.c            |    6 +-
 hw/i8259.c            |    2 +-
 hw/ioapic.c           |    2 +-
 hw/msix.c             |    3 +-
 hw/pc.c               |    4 +-
 hw/pcspk.c            |    4 +-
 hw/piix_pci.c         |    2 +-
 hw/vmport.c           |   13 +--
 kvm-all.c             |   24 ++---
 kvm.h                 |   11 +--
 qemu-kvm-x86.c        |  319 ++++++-------------------------------------------
 qemu-kvm.c            |  110 ++----------------
 qemu-kvm.h            |  139 +--------------------
 target-i386/kvm.c     |   43 ++++++-
 target-ia64/machine.c |    4 +-
 vl.c                  |    3 +-
 16 files changed, 114 insertions(+), 575 deletions(-)