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. v2 Latest24 patches 14 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24kvm: x86: Fix build in absence of KVM_CAP_ASYNC_PFtarget-i386/kvm.c+2 -00 replies
2/24Prevent abortion on multiple VCPU kickscpu-defs.h cpus.c+6 -10 replies
3/24Stop current VCPU on synchronous reset requestscpus.c cpus.h vl.c+11 -40 replies
4/24Process vmstop requests in IO threadvl.c+5 -90 replies
5/24Trigger exit from cpu_exec_all on pending IO eventscpus.c+1 -00 replies
6/24Leave inner main_loop faster on pending requestsvl.c+7 -40 replies
7/24Flatten the main loopvl.c+15 -150 replies
8/24kvm: Report proper error on GET_VCPU_MMAP_SIZE failureskvm-all.c+1 -00 replies
9/24kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fncpus.c+2 -20 replies
10/24kvm: Handle kvm_init_vcpu errorscpus.c+15 -40 replies
11/24kvm: Provide sigbus services arch-independentlycpus.c kvm-all.c kvm-stub.c +4 more+46 -100 replies
12/24Refactor signal setup functions in cpus.ccpus.c+83 -790 replies
13/24kvm: Set up signal mask also for !CONFIG_IOTHREADcpus.c+27 -211 replies
14/24kvm: Refactor qemu_kvm_eat_signalscpus.c+7 -160 replies
15/24kvm: Call qemu_kvm_eat_signals also under !CONFIG_IOTHREADcpus.c+52 -380 replies
16/24Set up signalfd under !CONFIG_IOTHREADMakefile.objs cpus.c+65 -540 replies
17/24kvm: Fix race between timer signals and vcpu entry under !IOTHREADconfigure cpus.c+36 -10 replies
18/24kvm: Add MCE signal support for !CONFIG_IOTHREADcpus.c+65 -420 replies
19/24Introduce VCPU self-signaling servicecpus.c qemu-common.h+22 -00 replies
20/24kvm: Unconditionally reenter kernel after IO exitskvm-all.c target-i386/kvm.c+22 -140 replies
21/24kvm: Remove static return code of kvm_handle_iokvm-all.c+8 -90 replies
22/24kvm: Leave kvm_cpu_exec directly after KVM_EXIT_SHUTDOWNkvm-all.c+0 -10 replies
23/24Refactor kvm&tcg function names in cpus.ccpus.c+8 -80 replies
24/24Fix a few coding style violations in cpus.ccpus.c+58 -390 replies

Reviews trailers per patch

3 of 24 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

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

Version 2 of part II. Changes:
- Fixed "Unconditionally reenter kernel after IO exits" to take self-INIT into account
- Fixed misplaced hunk in "Fix race between timer signals and vcpu entry under !IOTHREAD" (rebase artifact)
- Factor out block_synchronous_signals (analogue to block_io_signals)
- Additional fix to break out of SMP VCPU loop on pending IO event
- Fork qemu_kvm_init_cpu_signals over CONFIG_IOTHREAD
- Additional cleanup, flattening the main loop

Hope I addressed all review comments (except for passing env to qemu_cpu_kick_self which I think is better as it is).

Thanks,
Jan

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 (24):
kvm: x86: Fix build in absence of KVM_CAP_ASYNC_PF Prevent abortion on multiple VCPU kicks
Stop current VCPU on synchronous reset requests
Process vmstop requests in IO thread
Trigger exit from cpu_exec_all on pending IO events Leave inner main_loop faster on pending requests Flatten the main loop
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: 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 +-
 configure          |    6 +
 cpu-defs.h         |    1 +
 cpus.c             |  662 ++++++++++++++++++++++++++++++++--------------------
 cpus.h             |    1 +
 kvm-all.c          |   60 +++--
 kvm-stub.c         |    5 +
 kvm.h              |    7 +-
 qemu-common.h      |    1 +
 target-i386/kvm.c  |   11 +-
 target-ppc/kvm.c   |   10 +
 target-s390x/kvm.c |   10 +
 vl.c               |   40 ++--
 13 files changed, 514 insertions(+), 302 deletions(-)