Skip to content

Patches for clang compilation

Bill Wendling kvm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 6 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86: emulator: use "SSE2" for the targetx86/emulator.c+1 -11 reply
2/6pci: cast the masks to the appropriate sizelib/pci.c+2 -11 reply
3/6Makefile: use "-Werror" in cc-optionMakefile+10 -62 replies
4/6Makefile: add "cxx-option" for C++ buildsMakefile+13 -11 reply
5/6x86: use a non-negative number in shiftx86/svm.c+1 -11 reply
6/6x86: use inline asm to retrieve stack pointerx86/vmx_tests.c+6 -20 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/6T-b
2/6R-b
3/6
4/6
5/6R-b
6/6

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

Read the v3 thread

Cover letter [kvm-unit-tests PATCH v3 0/6] Patches for clang compilation

This series of patches includes extra from the original patch set:

- Changes to the "use -Werror in cc-option" patch to address Thomas Huth's comments.
- Two fixes for code clang warned about: shifting negative numbers, and misuse of the "registers for local variables" feature.

Bill Wendling (6):
x86: emulator: use "SSE2" for the target
pci: cast the masks to the appropriate size
Makefile: use "-Werror" in cc-option
Makefile: add "cxx-option" for C++ builds
x86: use a non-negative number in shift
x86: use inline asm to retrieve stack pointer

 Makefile        | 30 +++++++++++++++++++++++-------
 lib/pci.c       |  3 ++-
 x86/emulator.c  |  2 +-
 x86/svm.c       |  2 +-
 x86/vmx_tests.c |  8 ++++++--
 5 files changed, 33 insertions(+), 12 deletions(-)
Signature · 1 line
2.24.0.rc1.363.gb1bccd3e3d-goog