qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] fbf8c9: docs: build-platforms: Clarify stance


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] fbf8c9: docs: build-platforms: Clarify stance on minor rel...
Date: Fri, 05 Aug 2022 10:29:03 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: fbf8c96be3eff5f4d9fa7e7f5d989c54e62dd294
      
https://github.com/qemu/qemu/commit/fbf8c96be3eff5f4d9fa7e7f5d989c54e62dd294
  Author: Andrea Bolognani <abologna@redhat.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M docs/about/build-platforms.rst

  Log Message:
  -----------
  docs: build-platforms: Clarify stance on minor releases and backports

These changes match those made in the following libvirt commits:

  2ac78307af docs: Clarify our stance on backported packages
  78cffd450a docs: Spell out our policy concerning minor releases

Since QEMU's platform support policy is based on libvirt's, it
makes sense to mirror these recent changes made to the latter.

The policy is not altered significantly - we're simply spelling
out some rules that were likely already being implicitly
enforced.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 5258a7e2c0677d16e9e1d06845f60171adf0b290
      
https://github.com/qemu/qemu/commit/5258a7e2c0677d16e9e1d06845f60171adf0b290
  Author: Leonardo Bras <leobras@redhat.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M io/channel-socket.c

  Log Message:
  -----------
  QIOChannelSocket: Add support for MSG_ZEROCOPY + IPV6

For using MSG_ZEROCOPY, there are two steps:
1 - io_writev() the packet, which enqueues the packet for sending, and
2 - io_flush(), which gets confirmation that all packets got correctly sent

Currently, if MSG_ZEROCOPY is used to send packets over IPV6, no error will
be reported in (1), but it will fail in the first time (2) happens.

This happens because (2) currently checks for cmsg_level & cmsg_type
associated with IPV4 only, before reporting any error.

Add checks for cmsg_level & cmsg_type associated with IPV6, and thus enable
support for MSG_ZEROCOPY + IPV6

Fixes: 2bc58ffc29 ("QIOChannelSocket: Implement io_writev zero copy flag & 
io_flush for CONFIG_LINUX")
Signed-off-by: Leonardo Bras <leobras@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 5dfa9e8689d08c529bf772fc199597efa947fa27
      
https://github.com/qemu/qemu/commit/5dfa9e8689d08c529bf772fc199597efa947fa27
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386: display deprecation status in '-cpu help'

When the user queries CPU models via QMP there is a 'deprecated' flag
present, however, this is not done for the CLI '-cpu help' command.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 738cdc2f6ea1ce22bb3f2a4e0fc84fc8121896fb
      
https://github.com/qemu/qemu/commit/738cdc2f6ea1ce22bb3f2a4e0fc84fc8121896fb
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M target/s390x/cpu_models.c

  Log Message:
  -----------
  target/s390x: display deprecation status in '-cpu help'

When the user queries CPU models via QMP there is a 'deprecated' flag
present, however, this is not done for the CLI '-cpu help' command.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 977c33ba5de58c9c5c857979516cb896db2c0969
      
https://github.com/qemu/qemu/commit/977c33ba5de58c9c5c857979516cb896db2c0969
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: display deprecation status in '-cpu help'

When the user queries CPU models via QMP there is a 'deprecated' flag
present, however, this is not done for the CLI '-cpu help' command.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: e3fdb13e8851be570db41a50589ce82d11d61c12
      
https://github.com/qemu/qemu/commit/e3fdb13e8851be570db41a50589ce82d11d61c12
  Author: Bin Meng <bin.meng@windriver.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M util/qemu-sockets.c

  Log Message:
  -----------
  util/qemu-sockets: Replace the call to close a socket with closesocket()

close() is a *nix function. It works on any file descriptor, and
sockets in *nix are an example of a file descriptor.

closesocket() is a Windows-specific function, which works only
specifically with sockets. Sockets on Windows do not use *nix-style
file descriptors, and socket() returns a handle to a kernel object
instead, so it must be closed with closesocket().

In QEMU there is already a logic to handle such platform difference
in os-posix.h and os-win32.h, that:

  * closesocket maps to close on POSIX
  * closesocket maps to a wrapper that calls the real closesocket()
    on Windows

Replace the call to close a socket with closesocket() instead.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: e0d8bb9800bc11fbb067c4ee504751a3521ac35e
      
https://github.com/qemu/qemu/commit/e0d8bb9800bc11fbb067c4ee504751a3521ac35e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M docs/about/build-platforms.rst
    M io/channel-socket.c
    M target/arm/helper.c
    M target/i386/cpu.c
    M target/s390x/cpu_models.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  Merge tag 'misc-next-pull-request' of https://gitlab.com/berrange/qemu into 
staging

Merge misc patches

 * Display deprecation warnings in -cpu help
 * Fix zerocopy IPv6 handling
 * Clarify platform support policy on minor release/backports
 * Fix closesocket call in error path

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE2vOm/bJrYpEtDo4/vobrtBUQT98FAmLtNQoACgkQvobrtBUQ
# T9/vbQ//ab28uFWbUxnBjOsI57PEJLCL4iWCtJtMEkjWRT6W5hoMirktsThierSe
# Yi1idrL0Z5lP6S1AZvuKYO9yTjzO+VzpmolXXRB6lRabQJ7eL/KNAAj2gO1X/ELh
# UItcalI14ucrWUSd14PGjHAOgpI1RONDcgnY3/Yp9/ARz+0XEtH4CLk2NyAxCRn/
# PHDA/BB0tKf0S6aC92vHOVLdLppA6lhheIKCyrM+QWZfp/PuIQLvjHdilB9dcbdC
# JtZN5TWISvOPuAGBMkulAefKPMWhrdy2UYBIGvN3+s+l6y++neyrChagt0ky+8F3
# dF0AZsqVRQfVwAKLhHpaNAImCbUt2jVWXHXzgrwVSNpdP1oDcFVVuu/strdcvyb6
# UgZI10hkKWsaZXcjXJ0qMZ8bI5CLXAosRx4SA0U/SLGJs5jpEO9gK3cq5o+vtG+j
# cJI7/B5OI3csuBVCXddgl6bkOYldSOcP6QEre7KJ+V07feDWDGa8qzwpRvh9h6Vb
# YZ+eWWTOAbDbXpgwk8sNTGYHbKME6GSBMa2QF2rLFrIHnI9OoWFzn2O87wKSNt9M
# 9p7Xv2UF0hB6CQ2p0wjETbnkfbQR5C3ybanfWvqK/98w1AkwMkaK3pDDbX571hFN
# EzZx1cdirpthzvGXyYRsM+V64T86t7J2jeCbbPpEzSmpglD9IKM=
# =JTiu
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 05 Aug 2022 08:19:38 AM PDT
# gpg:                using RSA key DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>" [full]
# gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>" [full]

* tag 'misc-next-pull-request' of https://gitlab.com/berrange/qemu:
  util/qemu-sockets: Replace the call to close a socket with closesocket()
  target/arm: display deprecation status in '-cpu help'
  target/s390x: display deprecation status in '-cpu help'
  target/i386: display deprecation status in '-cpu help'
  QIOChannelSocket: Add support for MSG_ZEROCOPY + IPV6
  docs: build-platforms: Clarify stance on minor releases and backports

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/09ed077d7fae...e0d8bb9800bc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]