Re: FreeBSD 14.2-p1, XEN 4.19.0.20241112, unable to create domain

From: Roger Pau Monné <roger.pau_at_citrix.com>
Date: Thu, 20 Feb 2025 16:14:24 UTC
On Thu, Feb 20, 2025 at 06:41:11PM +0300, Subbsd wrote:
> On Thu, Feb 20, 2025 at 6:29 PM Roger Pau Monné <roger.pau@citrix.com> wrote:
> 
> > Hm, that seems to be a different error now, can you paste the output
> > of /var/log/xen/qemu-dm-<domain-name>.log?
> >
> > Thanks, Roger.
> 
> # cat /var/log/xen/qemu-dm-freebsd1.log
> char device redirected to /dev/pts/2 (label serial0)
> qemu-system-i386: -vnc 0.0.0.0:0,password=on: Cipher backend does not
> support DES algorithm
> 
> 
> Hmm. If I comment vncpasswd="test", everything works fine. But without
> a password ;)

https://gitlab.com/qemu-project/qemu/-/issues/1158

It seems we need some extra dependencies in the xen-tools package.

Can you try to apply the diff below, rebuild xen-tools and see if it
fixes your issue.

Thanks, Roger.
---
diff --git a/sysutils/xen-tools/Makefile b/sysutils/xen-tools/Makefile
index 75084bdc0e9a..599044957548 100644
--- a/sysutils/xen-tools/Makefile
+++ b/sysutils/xen-tools/Makefile
@@ -23,7 +23,8 @@ LICENSE_COMB=	multi
 LIB_DEPENDS=	libyajl.so:devel/yajl \
 		liblzo2.so:archivers/lzo2 \
 		libpixman-1.so:x11/pixman \
-		libargp.so:devel/argp-standalone
+		libargp.so:devel/argp-standalone \
+		libgnutls.so:security/gnutls
 BUILD_DEPENDS=	seabios>0:misc/seabios \
 		${LOCALBASE}/share/edk2-xen/XEN_X64_EFI.fd:sysutils/edk2@xen_x64 \
 		bash>0:shells/bash