qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 0/1] Migration patches for 2025-08-05
@ 2025-08-05 20:29 Fabiano Rosas
  2025-08-05 20:29 ` [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes Fabiano Rosas
  2025-08-07 19:00 ` [PULL 0/1] Migration patches for 2025-08-05 Stefan Hajnoczi
  0 siblings, 2 replies; 4+ messages in thread
From: Fabiano Rosas @ 2025-08-05 20:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu

The following changes since commit a41280fd5b94c49089f7631c6fa8bb9c308b7962:

  Merge tag 'pull-aspeed-20250804' of https://github.com/legoater/qemu into staging (2025-08-04 08:57:07 -0400)

are available in the Git repository at:

  https://gitlab.com/farosas/qemu.git tags/migration-20250805-pull-request

for you to fetch changes up to a04ba043a3b03b49466b8ba95290e0507f268069:

  meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes (2025-08-05 16:27:25 -0300)

----------------------------------------------------------------
Migration pull request

- Disable GNUTLS bug workaround

----------------------------------------------------------------

Daniel P. Berrangé (1):
  meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes

 meson.build                   | 6 +++---
 meson_options.txt             | 2 --
 scripts/meson-buildoptions.sh | 5 -----
 3 files changed, 3 insertions(+), 10 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes
  2025-08-05 20:29 [PULL 0/1] Migration patches for 2025-08-05 Fabiano Rosas
@ 2025-08-05 20:29 ` Fabiano Rosas
  2025-08-06  6:35   ` Michael Tokarev
  2025-08-07 19:00 ` [PULL 0/1] Migration patches for 2025-08-05 Stefan Hajnoczi
  1 sibling, 1 reply; 4+ messages in thread
From: Fabiano Rosas @ 2025-08-05 20:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu, Daniel P. Berrangé

From: Daniel P. Berrangé <berrange@redhat.com>

The implementation of this workaround does not currently work, so
remove the option entirely to avoid exposing it to users. The code
will remain (temporarily dormant) to be fixed in the next release
cycle.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250805182431.504158-1-berrange@redhat.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
 meson.build                   | 6 +++---
 meson_options.txt             | 2 --
 scripts/meson-buildoptions.sh | 5 -----
 3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/meson.build b/meson.build
index e53cd5b413..a7b3c683ce 100644
--- a/meson.build
+++ b/meson.build
@@ -1836,11 +1836,11 @@ if get_option('gnutls').enabled() or (get_option('gnutls').auto() and have_syste
                         required: get_option('gnutls'))
   endif
 
-  if gnutls.found() and not get_option('gnutls-bug1717-workaround').disabled()
+  #if gnutls.found() and not get_option('gnutls-bug1717-workaround').disabled()
     # XXX: when bug 1717 is resolved, add logic to probe for
     # the GNUTLS fixed version number to handle the 'auto' case
-    gnutls_bug1717_workaround = true
-  endif
+  #  gnutls_bug1717_workaround = true
+  #endif
 endif
 
 # We prefer use of gnutls for crypto, unless the options
diff --git a/meson_options.txt b/meson_options.txt
index dd33530750..fff1521e58 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -174,8 +174,6 @@ option('libcbor', type : 'feature', value : 'auto',
        description: 'libcbor support')
 option('gnutls', type : 'feature', value : 'auto',
        description: 'GNUTLS cryptography support')
-option('gnutls-bug1717-workaround', type: 'feature', value : 'auto',
-       description: 'GNUTLS workaround for https://gitlab.com/gnutls/gnutls/-/issues/1717')
 option('nettle', type : 'feature', value : 'auto',
        description: 'nettle cryptography support')
 option('gcrypt', type : 'feature', value : 'auto',
diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh
index d559e260ed..0ebe6bc52a 100644
--- a/scripts/meson-buildoptions.sh
+++ b/scripts/meson-buildoptions.sh
@@ -123,9 +123,6 @@ meson_options_help() {
   printf "%s\n" '  gio             use libgio for D-Bus support'
   printf "%s\n" '  glusterfs       Glusterfs block device driver'
   printf "%s\n" '  gnutls          GNUTLS cryptography support'
-  printf "%s\n" '  gnutls-bug1717-workaround'
-  printf "%s\n" '                  GNUTLS workaround for'
-  printf "%s\n" '                  https://gitlab.com/gnutls/gnutls/-/issues/1717'
   printf "%s\n" '  gtk             GTK+ user interface'
   printf "%s\n" '  gtk-clipboard   clipboard support for the gtk UI (EXPERIMENTAL, MAY HANG)'
   printf "%s\n" '  guest-agent     Build QEMU Guest Agent'
@@ -334,8 +331,6 @@ _meson_option_parse() {
     --disable-glusterfs) printf "%s" -Dglusterfs=disabled ;;
     --enable-gnutls) printf "%s" -Dgnutls=enabled ;;
     --disable-gnutls) printf "%s" -Dgnutls=disabled ;;
-    --enable-gnutls-bug1717-workaround) printf "%s" -Dgnutls-bug1717-workaround=enabled ;;
-    --disable-gnutls-bug1717-workaround) printf "%s" -Dgnutls-bug1717-workaround=disabled ;;
     --enable-gtk) printf "%s" -Dgtk=enabled ;;
     --disable-gtk) printf "%s" -Dgtk=disabled ;;
     --enable-gtk-clipboard) printf "%s" -Dgtk_clipboard=enabled ;;
-- 
2.35.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes
  2025-08-05 20:29 ` [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes Fabiano Rosas
@ 2025-08-06  6:35   ` Michael Tokarev
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2025-08-06  6:35 UTC (permalink / raw)
  To: Fabiano Rosas, qemu-devel; +Cc: Peter Xu, Daniel P. Berrangé

On 05.08.2025 23:29, Fabiano Rosas wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
> 
> The implementation of this workaround does not currently work, so
> remove the option entirely to avoid exposing it to users. The code
> will remain (temporarily dormant) to be fixed in the next release
> cycle.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Reviewed-by: Fabiano Rosas <farosas@suse.de>
> Link: https://lore.kernel.org/qemu-devel/20250805182431.504158-1-berrange@redhat.com
> Signed-off-by: Fabiano Rosas <farosas@suse.de>

Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>

Thank you very much Daniel, everyone else, for working on this one!

/mjt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PULL 0/1] Migration patches for 2025-08-05
  2025-08-05 20:29 [PULL 0/1] Migration patches for 2025-08-05 Fabiano Rosas
  2025-08-05 20:29 ` [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes Fabiano Rosas
@ 2025-08-07 19:00 ` Stefan Hajnoczi
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2025-08-07 19:00 UTC (permalink / raw)
  To: Fabiano Rosas; +Cc: qemu-devel, Peter Xu

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-07 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-05 20:29 [PULL 0/1] Migration patches for 2025-08-05 Fabiano Rosas
2025-08-05 20:29 ` [PULL 1/1] meson: remove 'gnutls-bug1717-workaround' for migration TLS crashes Fabiano Rosas
2025-08-06  6:35   ` Michael Tokarev
2025-08-07 19:00 ` [PULL 0/1] Migration patches for 2025-08-05 Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).