Skip to content

Patch queue, part II

Jan Kiszka kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 39 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22Prevent abortion on multiple VCPU kickscpu-defs.h cpus.c+6 -13 replies
2/22Stop current VCPU on synchronous reset requestscpus.c cpus.h vl.c+11 -40 replies
3/22Process vmstop requests in IO threadvl.c+5 -90 replies
4/22Leave inner main_loop faster on pending requestsvl.c+7 -44 replies
5/22kvm: Report proper error on GET_VCPU_MMAP_SIZE failureskvm-all.c+1 -00 replies
6/22kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fncpus.c+2 -20 replies
7/22kvm: Handle kvm_init_vcpu errorscpus.c+15 -40 replies
8/22kvm: Provide sigbus services arch-independentlycpus.c kvm-all.c kvm-stub.c +4 more+46 -102 replies
9/22Refactor signal setup functions in cpus.ccpus.c+83 -790 replies
10/22kvm: Set up signal mask also for !CONFIG_IOTHREADcpus.c+11 -21 reply
11/22kvm: Refactor qemu_kvm_eat_signalscpus.c+7 -160 replies
12/22kvm: Call qemu_kvm_eat_signals also under !CONFIG_IOTHREADcpus.c+50 -384 replies
13/22Set up signalfd under !CONFIG_IOTHREADMakefile.objs cpus.c+65 -541 reply
14/22kvm: Fix race between timer signals and vcpu entry under !IOTHREADcpus.c+18 -018 replies
15/22kvm: Add MCE signal support for !CONFIG_IOTHREADcpus.c+66 -400 replies
16/22Introduce VCPU self-signaling servicecpus.c qemu-common.h+22 -04 replies
17/22kvm: Move irqchip event processing out of inner loopkvm-all.c+6 -511 replies
18/22kvm: Unconditionally reenter kernel after IO exitskvm-all.c+11 -90 replies
19/22kvm: Remove static return code of kvm_handle_iokvm-all.c+8 -90 replies
20/22kvm: Leave kvm_cpu_exec directly after KVM_EXIT_SHUTDOWNkvm-all.c+0 -10 replies
21/22Refactor kvm&tcg function names in cpus.ccpus.c+8 -80 replies
22/22Fix a few coding style violations in cpus.ccpus.c+58 -390 replies

Reviews trailers per patch

5 of 22 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniAlexander Graf
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22R-b A-b
9/22
10/22R-b
11/22R-b
12/22R-b
13/22R-b
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/22] [uq/master] Patch queue, part II

This second round of patches focus on issues in cpus.c, primarily signal related. The highlights are

- Add missing KVM_RUN continuation after I/O exits
- Fix for timer signal race in KVM entry code under !CONFIG_IOTHREAD (based on Stefan's findings)
- MCE signal processing under !CONFIG_IOTHREAD
- Prevent abortion on multiple VCPU kicks
- Fixed synchronous (ie. VCPU-issued) reset request processing

Topics remaining for a third round are cleanups and refactorings of the KVM VCPU entry/exit path, MCE rework, and a few assorted cleanups. But I will wait at least until these bits here are ready for an upstream merge.

CC Alexander Graf <[email protected]>
CC Gleb Natapov <[email protected]>
CC Hidetoshi Seto <[email protected]>
CC Huang Ying <[email protected]>
CC Jin Dongming <[email protected]>
CC Paolo Bonzini <[email protected]>
CC Stefan Hajnoczi <[email protected]>

Jan Kiszka (22):
Prevent abortion on multiple VCPU kicks
Stop current VCPU on synchronous reset requests
Process vmstop requests in IO thread
Leave inner main_loop faster on pending requests
kvm: Report proper error on GET_VCPU_MMAP_SIZE failures
kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn
kvm: Handle kvm_init_vcpu errors
kvm: Provide sigbus services arch-independently Refactor signal setup functions in cpus.c
kvm: Set up signal mask also for !CONFIG_IOTHREAD
kvm: Refactor qemu_kvm_eat_signals
kvm: Call qemu_kvm_eat_signals also under !CONFIG_IOTHREAD Set up signalfd under !CONFIG_IOTHREAD
kvm: Fix race between timer signals and vcpu entry under !IOTHREAD
kvm: Add MCE signal support for !CONFIG_IOTHREAD Introduce VCPU self-signaling service
kvm: Move irqchip event processing out of inner loop
kvm: Unconditionally reenter kernel after IO exits
kvm: Remove static return code of kvm_handle_io
kvm: Leave kvm_cpu_exec directly after KVM_EXIT_SHUTDOWN Refactor kvm&tcg function names in cpus.c
Fix a few coding style violations in cpus.c

 Makefile.objs      |    2 +-
 cpu-defs.h         |    1 +
 cpus.c             |  639 +++++++++++++++++++++++++++++++---------------------
 cpus.h             |    1 +
 kvm-all.c          |   60 +++--
 kvm-stub.c         |    5 +
 kvm.h              |    7 +-
 qemu-common.h      |    1 +
 target-i386/kvm.c  |    4 +-
 target-ppc/kvm.c   |   10 +
 target-s390x/kvm.c |   10 +
 vl.c               |   26 +-
 12 files changed, 469 insertions(+), 297 deletions(-)