Patch queue, part III
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | Refactor kvm&tcg function names in cpus.ccpus.c | +8 | 0 replies | |
| 2/15 | Refactor cpu_has_work/any_cpu_has_work in cpus.ccpus.c | +23 | 4 replies | |
| 3/15 | Fix a few coding style violations in cpus.ccpus.c | +44 | 0 replies | |
| 4/15 | Improve vm_stop reason declarationscpus.c gdbstub.c hw/ +9 more | +31 | 5 replies | |
| 5/15 | Refactor debug and vmstop request interfacecpus.c cpus.h sysemu.h +1 more | +19 | 0 replies | |
| 6/15 | Move debug exception handling out of cpu_execcpu-exec.c cpus.c vl.c | +31 | 0 replies | |
| 7/15 | kvm: Separate TCG from KVM cpu executioncpu-exec.c cpus.c kvm-all.c +1 more | +23 | 4 replies | |
| 8/15 | kvm: x86: Prepare VCPU loop for in-kernel irqchiptarget-i386/ | +38 | 0 replies | |
| 9/15 | kvm: Drop return values from kvm_arch_pre/post_runkvm.h target-i386/ target-ppc/ +1 more | +8 | 5 replies | |
| 10/15 | kvm: x86: Catch and report failing IRQ and NMI injectionstarget-i386/ | +13 | 0 replies | |
| 11/15 | kvm: Remove unneeded memory slot reservationkvm-all.c | +0 | 1 reply | |
| 12/15 | Introduce log_start/log_stop in CPUPhysMemoryClientcpu-all.h cpu-common.h exec.c +5 more | +64 | 0 replies | |
| 13/15 | cirrus: Remove obsolete kvm.h includehw/ | +0 | 0 replies | |
| 14/15 | kvm: Make kvm_state globally availablekvm-all.c kvm.h | +2 | 0 replies | |
| 15/15 | kvm: x86: Introduce kvmclock device to save/restore its stateMakefile.target hw/ hw/ +1 more | +165 | 10 replies |
Reviews trailers per patch
2 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Alexander Graf | Alex Williamson |
|---|---|---|
| 1/15 | ||
| 2/15 | ||
| 3/15 | ||
| 4/15 | ||
| 5/15 | ||
| 6/15 | ||
| 7/15 | ||
| 8/15 | ||
| 9/15 | A-b | |
| 10/15 | ||
| 11/15 | A-b | |
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] [uq/master] Patch queue, part III
This round is kind of an assorted collection:
- make kvm_cpu_exec ready for qemu-kvm reuse
- reworked vm_stop handling (as preparation for kvm_cpu_exec reuse)
- the return of kvmclock
- cleanups around KVM's dirty logging/slot management
- style cleanups of cpus.c
The patches related to the first item allowed me to remove another 400 lines of duplicate qemu-kvm code. Current local stats:
# wc -l qemu-kvm.[ch] qemu-kvm-x86.c 1142 qemu-kvm.c 309 qemu-kvm.h 230 qemu-kvm-x86.c 1681 total (vs. 3513 in current master)
I'm about to look into the last issue soon: consolidation of the threading code.
For upstream qemu, there is now only the MCE rework pending in my queue. That will be sent as part IV after this series has passed the review.
Anthony PERARD (1):
Introduce log_start/log_stop in CPUPhysMemoryClient
Jan Kiszka (14):
Refactor kvm&tcg function names in cpus.c
Refactor cpu_has_work/any_cpu_has_work in cpus.c Fix a few coding style violations in cpus.c
Improve vm_stop reason declarations
Refactor debug and vmstop request interface
Move debug exception handling out of cpu_exec
kvm: Separate TCG from KVM cpu execution
kvm: x86: Prepare VCPU loop for in-kernel irqchip
kvm: Drop return values from kvm_arch_pre/post_run
kvm: x86: Catch and report failing IRQ and NMI injections
kvm: Remove unneeded memory slot reservation
cirrus: Remove obsolete kvm.h include
kvm: Make kvm_state globally available
kvm: x86: Introduce kvmclock device to save/restore its state
Makefile.target | 4 +- cpu-all.h | 6 ++ cpu-common.h | 4 + cpu-exec.c | 43 ++----------- cpus.c | 182 +++++++++++++++++++++++++++++++--------------------- cpus.h | 2 - exec.c | 30 +++++++++ gdbstub.c | 19 +++--- hw/cirrus_vga.c | 1 - hw/ide/core.c | 2 +- hw/kvmclock.c | 125 +++++++++++++++++++++++++++++++++++ hw/kvmclock.h | 14 ++++ hw/pc_piix.c | 31 +++++++-- hw/scsi-disk.c | 2 +- hw/vga.c | 31 +++++---- hw/vhost.c | 2 + hw/virtio-blk.c | 2 +- hw/watchdog.c | 2 +- kvm-all.c | 35 +++++----- kvm-stub.c | 10 --- kvm.h | 9 +-- migration.c | 2 +- monitor.c | 4 +- savevm.c | 4 +- sysemu.h | 10 +++ target-i386/kvm.c | 93 +++++++++++++++----------- target-ppc/kvm.c | 6 +- target-s390x/kvm.c | 6 +- vl.c | 22 +++++-- 29 files changed, 462 insertions(+), 241 deletions(-) create mode 100644 hw/kvmclock.c create mode 100644 hw/kvmclock.h