Skip to content

qemu-trad: fix build with recent gnutls

Olaf Hering xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vns/tls: don't use depricated gnutls functionsvnc.c+45 -201 reply
2/2vnc-tls: Fix compilation with newer versions of GNU-TLSvnc.c+3 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAnthony PERARD
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] qemu-trad: fix build with recent gnutls

Building qemu-traditional fails with current gnutls:

../libqemu_common.a(vnc.o): In function `vnc_start_tls':
/home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2164: undefined reference to gnutls_kx_set_priority' /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2171: undefined reference to gnutls_certificate_type_set_priority' /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2178: undefined reference to `gnutls_protocol_set_priority'
collect2: error: ld returned 1 exit status
Makefile:740: recipe for target 'qemu-dm' failed

To fix the build two upstream patches need to be backported. One fixes the compile error, the other one removes another deprecated function warning.

This series was only compile tested.

Please review and apply to qemu-trad, xen-4.2 and later is affected.

Olaf

Andre Przywara (1):
vnc-tls: Fix compilation with newer versions of GNU-TLS

Gerd Hoffmann (1):
vns/tls: don't use depricated gnutls functions

 vnc.c | 71 +++++++++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 48 insertions(+), 23 deletions(-)