[PATCH v2 0/8] various fixes for 11.2 (gitlab, tests, char-fe, fdc, mailmap, deprecations) pre-PR

Alex Bennée posted 8 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260824-fixes-for-11-2-v2-0-352c6b890402@linaro.org
Maintainers: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>, "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, zhenwei pi <zhenwei.pi@linux.dev>, "Michael S. Tsirkin" <mst@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Amit Shah <amit@kernel.org>, John Snow <jsnow@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fabiano Rosas <farosas@suse.de>
docs/about/deprecated.rst             |  18 +++
hw/block/fdc-internal.h               |   1 +
include/chardev/char-fe.h             |  13 +-
backends/cryptodev-vhost-user.c       |   8 +-
backends/rng-egd.c                    |   8 +-
backends/vhost-user.c                 |   8 +-
hw/block/fdc.c                        |  30 ++++-
hw/char/imx_serial.c                  |   4 +-
tests/qtest/fdc-test.c                | 246 +++++++++++++++++++++++++++++++++-
.gitlab-ci.d/macos.yml                |   7 +-
.mailmap                              |   1 +
tests/tcg/arm/Makefile.softmmu-target |   2 +-
12 files changed, 307 insertions(+), 39 deletions(-)
[PATCH v2 0/8] various fixes for 11.2 (gitlab, tests, char-fe, fdc, mailmap, deprecations) pre-PR
Posted by Alex Bennée 1 month ago
This is a rather random selection of fixes that didn't quite make it
to 11.1 although we have some qemu-stable material in here.

The CFLAGS tweak allow another target to be built and tested on MacOS.
There are also riscv64 compilers which could be enabled via brew but I
don't have time to look at those. The CFLAGS changes are also subsumed
into Pierrick's check-tcg meson updates which might hit first.

The char-fe clean-up removes a code smell of device models reaching
into qemu_chr_fe_get_driver which is poor practice.

The fdc fix resolves one of the many security reports for those that
still care about floppy controllers in VMs.

In my brief excursion into our confidential bugs I did look at fixing
virtio-crypto but found it needs some serious love. Therefor I'm
taking the other option of deprecating the module.

Finally I'm experimenting with using b4's patch series handling so
forgive any finger trouble on this series.

I'll roll the PR on Wednesday.

Alex.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
Changes in v2:
- added mailmap patch
- added fcd test case at review request (AI-used-for trailer)
- tweaked virtio-crypto deprecation and commit message
- Link to v1: https://lore.kernel.org/qemu-devel/20260819-fixes-for-11-2-v1-0-b7981c2cc371@linaro.org

To: qemu-devel@nongnu.org
Cc: Philippe Mathieu-Daudé <philmd@mailo.com>
Cc: Alex Bennée <alex.bennee@linaro.org>
Cc: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Stefano Garzarella <sgarzare@redhat.com>
Cc: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: zhenwei pi <zhenwei.pi@linux.dev>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Amit Shah <amit@kernel.org>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Hanna Reitz <hreitz@redhat.com>
Cc: qemu-block@nongnu.org
Cc: Fabiano Rosas <farosas@suse.de>
Cc: devel@lists.libvirt.org

---
Alex Bennée (7):
      gitlab: use .base_meson_job_template for macOS jobs
      tests/arm: add explicit CFLAGS for system build
      gitlab: add arm-softmmu tests to the macOS build
      char-fe: implement qemu_chr_fe_backend_name
      hw/block: validate the fdc sector position fits within bounds
      tests/qtest: add test case for fdc sector overflow
      docs: deprecate virtio-crypto

Denis V. Lunev (1):
      mailmap: map the last From-munged author back to a real identity

 docs/about/deprecated.rst             |  18 +++
 hw/block/fdc-internal.h               |   1 +
 include/chardev/char-fe.h             |  13 +-
 backends/cryptodev-vhost-user.c       |   8 +-
 backends/rng-egd.c                    |   8 +-
 backends/vhost-user.c                 |   8 +-
 hw/block/fdc.c                        |  30 ++++-
 hw/char/imx_serial.c                  |   4 +-
 tests/qtest/fdc-test.c                | 246 +++++++++++++++++++++++++++++++++-
 .gitlab-ci.d/macos.yml                |   7 +-
 .mailmap                              |   1 +
 tests/tcg/arm/Makefile.softmmu-target |   2 +-
 12 files changed, 307 insertions(+), 39 deletions(-)
---
base-commit: 3375621e78660838b862d411c43f90e905d0b985
change-id: 20260819-fixes-for-11-2-f98744b82c12

Best regards,
--  
Alex Bennée <alex.bennee@linaro.org>