[PATCH v2 00/21] W32, W64 msys2/mingw patches

Yonggang Luo posted 21 patches 3 years, 7 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200909094617.1582-1-luoyonggang@gmail.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Peter Lieven <pl@kamp.de>, Stefan Hajnoczi <stefanha@redhat.com>, Stefan Weil <sw@weilnetz.de>, Li-Wen Hsu <lwhsu@freebsd.org>, Max Reitz <mreitz@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Fam Zheng <fam@euphon.net>, Kevin Wolf <kwolf@redhat.com>, Markus Armbruster <armbru@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Michael Roth <mdroth@linux.vnet.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>, Xie Changlong <xiechanglong.d@gmail.com>, Wen Congyang <wencongyang2@huawei.com>, Ed Maste <emaste@freebsd.org>
There is a newer version of this series
.cirrus.yml                         | 59 ++++++++++++++++-------------
block/nfs.c                         | 26 ++++++++-----
capstone                            |  2 +-
configure                           | 11 ++----
include/qemu/osdep.h                |  2 +-
include/qemu/rcu.h                  |  5 +++
meson.build                         |  6 ---
scripts/ci/windows/msys2-build.sh   | 28 ++++++++++++++
scripts/ci/windows/msys2-install.sh | 33 ++++++++++++++++
tests/meson.build                   |  3 +-
tests/qapi-schema/meson.build       |  2 +-
tests/test-char.c                   |  8 ++--
tests/test-io-channel-file.c        |  4 +-
tests/test-io-channel-socket.c      |  2 +
tests/test-logging.c                |  5 ++-
tests/test-qdev-global-props.c      |  6 +--
tests/test-replication.c            | 22 +++++++++--
tests/test-util-sockets.c           |  6 ++-
tests/test-vmstate.c                |  2 +-
ui/curses.c                         | 14 +++----
util/aio-win32.c                    | 11 +++++-
util/rcu.c                          | 37 +++++++++++++++++-
22 files changed, 215 insertions(+), 79 deletions(-)
create mode 100644 scripts/ci/windows/msys2-build.sh
create mode 100644 scripts/ci/windows/msys2-install.sh
[PATCH v2 00/21] W32, W64 msys2/mingw patches
Posted by Yonggang Luo 3 years, 7 months ago
It first introduce msys2 CI on cirrus by fixes nfs, capstone, curses and
disable partial test-char tests.
And then fixes all unit tests failure on msys2/mingw

Yonggang Luo (21):
  block: Fixes nfs compiling error on msys2/mingw
  ci: fixes msys2 build by upgrading capstone to 4.0.2
  configure: Fixes ncursesw detection under msys2/mingw and enable
    curses
  curses: Fixes curses compiling errors.
  tests: disable /char/stdio/* tests in test-char.c on win32
  ci: Enable msys2 ci in cirrus
  tests: Trying fixes test-replication.c on msys2/mingw.
  tests: test-replication disable /replication/secondary/* on
    msys2/mingw.
  osdep: These function are only available on Non-Win32 system.
  meson: Use -b to ignore CR vs. CR-LF issues on Windows
  meson: disable crypto tests are empty under win32
  meson: remove empty else and duplicated gio deps
  vmstate: Fixes test-vmstate.c on msys2/mingw
  cirrus: Building freebsd in a single short
  tests: Convert g_free to g_autofree macro in test-logging.c
  rcu: add uninit destructor for rcu
  tests: Fixes test-io-channel-socket.c tests under msys2/mingw
  tests: fixes aio-win32 about aio_remove_fd_handler, get it consistence
    with aio-posix.c
  tests: Fixes test-io-channel-file by mask only owner file state mask
    bits
  tests: fix test-util-sockets.c
  tests: Fixes test-qdev-global-props.c

 .cirrus.yml                         | 59 ++++++++++++++++-------------
 block/nfs.c                         | 26 ++++++++-----
 capstone                            |  2 +-
 configure                           | 11 ++----
 include/qemu/osdep.h                |  2 +-
 include/qemu/rcu.h                  |  5 +++
 meson.build                         |  6 ---
 scripts/ci/windows/msys2-build.sh   | 28 ++++++++++++++
 scripts/ci/windows/msys2-install.sh | 33 ++++++++++++++++
 tests/meson.build                   |  3 +-
 tests/qapi-schema/meson.build       |  2 +-
 tests/test-char.c                   |  8 ++--
 tests/test-io-channel-file.c        |  4 +-
 tests/test-io-channel-socket.c      |  2 +
 tests/test-logging.c                |  5 ++-
 tests/test-qdev-global-props.c      |  6 +--
 tests/test-replication.c            | 22 +++++++++--
 tests/test-util-sockets.c           |  6 ++-
 tests/test-vmstate.c                |  2 +-
 ui/curses.c                         | 14 +++----
 util/aio-win32.c                    | 11 +++++-
 util/rcu.c                          | 37 +++++++++++++++++-
 22 files changed, 215 insertions(+), 79 deletions(-)
 create mode 100644 scripts/ci/windows/msys2-build.sh
 create mode 100644 scripts/ci/windows/msys2-install.sh

-- 
2.28.0.windows.1