From nobody Sun Feb 16 17:58:57 2025 X-Original-To: freebsd-xen@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ywtp63DT6z5nkjd for ; Sun, 16 Feb 2025 17:59:10 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-ua1-x930.google.com (mail-ua1-x930.google.com [IPv6:2607:f8b0:4864:20::930]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ywtp543fgz3VF5 for ; Sun, 16 Feb 2025 17:59:09 +0000 (UTC) (envelope-from subbsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=kvj8076p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of subbsd@gmail.com designates 2607:f8b0:4864:20::930 as permitted sender) smtp.mailfrom=subbsd@gmail.com Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-868e368ec74so2368367241.1 for ; Sun, 16 Feb 2025 09:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739728748; x=1740333548; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=w2/oXR9AR0JcPzTrkfXmQLfg01boZrmM7pNXvpqvtjg=; b=kvj8076pZEFKlng+eY1oe+Pairi100pJ5YFGz8FbeQQxOn+37SE3BSqjbeI/HWTk30 mdxYU/mLaHekJD7Ka5Js8lbsIh6PDhabnhqc11c3Vt698/I2qSaZ7kX8oaJL2/G4xjkb BnpKBooluu9d7kybY1wDeEM+kkz7Ys5/qZW8sYVlqu/Ia88FUK8WfBblZSA0KXTF1cEn LVRXJ3vVyDdSpTHU3J3Fw8hTczqh55wAEXrwGWbuY+Aj/TptPwU2pKnclfj3/Efv9D1D dHbVQXG9E6vhtLekxF3EyWAlosmntfFOLYImC1VuRD8YrFtO4z0r0jUb08vEm51Xb4pk Ma+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739728748; x=1740333548; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=w2/oXR9AR0JcPzTrkfXmQLfg01boZrmM7pNXvpqvtjg=; b=AlLRKqa/R+LXGoW+KBjOkvW0zLMEVlsymK3y0CMwz4GnwVlHku+3+KamDYl6cHi1nu LTrDFDgwBWZSbh5/d1V7KrwxAWZuxULOx0TExAQIeVO2+kpsAZ+j1rpHMm+ewxLBHv1P Hr4chJE3+Ojgme0wc+VHGEqJBd3wYBpLvdaHFjTH5PIh2qMQplWBIvslcSKSiYRJz02G Vu0KtZyvcx4RBXIPR/ia9DAe3a0NVraF92xyTE/TlzGpAHNHyOOzCdddd8Auef1f34eV JQxesXmNQHUmPltvwmuGX6DlhtQnW56Ccx5phkF0LR25qTJKpWTbJ14OREMpwa9i5BsM lFeQ== X-Gm-Message-State: AOJu0Ywgz4CWfig0ndV6o9aX3C8HCIopE8xx7bFJQipAyh96+47dMdv2 PJ5lDdqvasQMHI79cdbSmt1D3eH+A6g6ZhvRs7lG71Xv0FGL4r3CEQUj78FF1CSja2CwrB7vMvy S2Sa0UbyKVqWlrPWhroHVy1l8lqnXDUnF X-Gm-Gg: ASbGnctwCt2bva5c2hsvQhtd3DY6TY0TnnpqAXcjzMsXte/JP6Emv30vbNPInGn5ixH fv1auNXS1oobVOHZZ9oaOyJpAHZ/evE0TRTtjBu5TUmOVPFRWuIO7waj3S30YFIQvik5B/kDSgX S88bZlulU= X-Google-Smtp-Source: AGHT+IGKQEi/2PcPV7bHyKVGLQGoCbueP1Hy0Wi2MwQomg1RvYmuePJhviuQjwwO33QLsivHL1R6Ec9DadRleky+/jQ= X-Received: by 2002:a05:6102:d94:b0:4bb:d7f0:6e7b with SMTP id ada2fe7eead31-4bd3fc8a415mr3786082137.2.1739728748174; Sun, 16 Feb 2025 09:59:08 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-xen List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-xen@freebsd.org Sender: owner-freebsd-xen@FreeBSD.org MIME-Version: 1.0 From: Subbsd Date: Sun, 16 Feb 2025 20:58:57 +0300 X-Gm-Features: AWEUYZmRpgOwSE_V5rxDoSPQe78fqvSAPYhnkcDPmgjF_D4DB6jtllr-eZpA4YY Message-ID: Subject: FreeBSD 14.2-p1, XEN 4.19.0.20241112, unable to create domain To: freebsd-xen@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.46 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.47)[-0.467]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-xen@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::930:from] X-Rspamd-Queue-Id: 4Ywtp543fgz3VF5 X-Spamd-Bar: --- The domain is not created when i try to use the following config file: xen.cfg: ``` name = "freebsd1" memory = 4096 vcpus = 4 vif = [ "bridge=bridge2" ] boot="d" vga = "stdvga" videoram=32 opengl=1 vncconsole=1 vncunused=0 debug_engine='none' on_poweroff="destroy"; on_reboot="restart"; on_crash="destroy"; usbdevice = 'tablet' hap="1" nestedhvm="0" apic=1 acpi=1 localtime=1 usb=1 vnc = 1 spice = 0 vnclisten = "0.0.0.0" vncpasswd="xxx" vncdisplay="0" disk = [ '/usr/jails/jails-data/freebsd1-data/dsk1.vhd,raw,xvda,rw', '/usr/jails/src/iso/cbsd-iso-FreeBSD-14.2-RELEASE-amd64-disc1.iso,raw,hdb:cdrom,r' ] builder = "hvm" serial="pty" vncconsole=1 ``` Other settings: /boot/loader.conf: ``` boot_multicons="YES" boot_serial="YES" console="comconsole,vidconsole" xen_kernel="/boot/xen" xen_cmdline="dom0_mem=4096M dom0_max_vcpus=4 dom0=pvh com1=115200,8n1 guest_loglvl=all loglvl=all" ``` /etc/rc.conf: ``` xencommons_enable="YES" xendriverdomain_enable="YES" ``` ``` ps axfww | grep xen 1846 - I 0:00.28 /usr/local/sbin/xenstored --pid-file /var/run/xen/xenstored.pid 1851 - I 0:00.07 /usr/local/sbin/xenconsoled ``` Result: ``` /usr/local/sbin/xl -vvv create -c ./xen.cfg Parsing config from ./xen.cfg libxl: debug: libxl_create.c:2122:do_domain_create: ao 0x3452b042e0a0: create: how=0x0 callback=0x0 poller=0x3452b04230a0 libxl: detail: libxl_create.c:672:libxl__domain_make: passthrough: disabled libxl: detail: libxl_create.c:680:libxl__domain_make: altp2m: disabled libxl: debug: libxl_device.c:445:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown specification=xen libxl: debug: libxl_device.c:485:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy libxl: debug: libxl_device.c:445:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=qdisk specification=xen libxl: debug: libxl_create.c:1377:initiate_domain_create: Domain 6:running bootloader libxl: debug: libxl_bootloader.c:410:libxl__bootloader_run: Domain 6:not a PV/PVH domain, skipping bootloader libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b0451dc8: deregister unregistered libxl: debug: libxl_numa.c:502:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=10, nr_vcpus=8, free_memkb=128705 libxl: detail: libxl_dom.c:228:numa_place_domain: NUMA placement candidate with 1 nodes, 10 cpus and 128705 KB free selected domainbuilder: detail: xc_dom_allocate: cmdline="", features="" domainbuilder: detail: xc_dom_kernel_file: filename="/usr/local/lib/xen/boot/hvmloader" domainbuilder: detail: xc_dom_malloc_filemap : 170 kB libxl: debug: libxl_dom.c:838:libxl__load_hvm_firmware_module: Loading BIOS: /usr/local/share/seabios/bios.bin domainbuilder: detail: xc_dom_boot_xen_init: ver 4.19, caps xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 domainbuilder: detail: xc_dom_parse_image: called domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... domainbuilder: detail: loader probe failed domainbuilder: detail: xc_dom_find_loader: trying HVM-generic loader ... domainbuilder: detail: loader probe OK xc: detail: ELF: phdr: paddr=0x100000 memsz=0x2fea0 xc: detail: ELF: memory: 0x100000 -> 0x12fea0 domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32 <= matches domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64 domainbuilder: detail: xc_dom_mem_init: mem 4064 MB, pages 0xfe000 pages, 4k each domainbuilder: detail: xc_dom_mem_init: 0xfe000 pages domainbuilder: detail: xc_dom_boot_mem_init: called domainbuilder: detail: range: start=0x0 end=0xf0000000 domainbuilder: detail: range: start=0x100000000 end=0x10e000000 xc: detail: PHYSICAL MEMORY ALLOCATION: xc: detail: 4KB PAGES: 0x0000000000000200 xc: detail: 2MB PAGES: 0x00000000000003ef xc: detail: 1GB PAGES: 0x0000000000000002 domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x100+0x30 at 0x82fe2a000 domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x100000 -> 0x12fea0 (pfn 0x100 + 0x30 pages) xc: detail: ELF: phdr 0 at 0x830a5a000 -> 0x830a833ac domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x130+0x40 at 0x83125a000 domainbuilder: detail: xc_dom_alloc_segment: System Firmware module : 0x130000 -> 0x170000 (pfn 0x130 + 0x40 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x170+0x1 at 0x83309a000 domainbuilder: detail: xc_dom_alloc_segment: HVM start info : 0x170000 -> 0x1708a8 (pfn 0x170 + 0x1 pages) domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x171000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0 domainbuilder: detail: xc_dom_boot_image: called domainbuilder: detail: domain builder memory footprint domainbuilder: detail: allocated domainbuilder: detail: malloc : 5848 bytes domainbuilder: detail: anon mmap : 0 bytes domainbuilder: detail: mapped domainbuilder: detail: file mmap : 170 kB domainbuilder: detail: domU mmap : 452 kB domainbuilder: detail: vcpu_hvm: called domainbuilder: detail: compat_gnttab_hvm_seed: d6: pfn=0x10e000 domainbuilder: detail: xc_dom_set_gnttab_entry: d6 gnt[0] -> d0 0xfefff domainbuilder: detail: xc_dom_set_gnttab_entry: d6 gnt[1] -> d0 0xfeffc domainbuilder: detail: xc_dom_release: called libxl: debug: libxl_device.c:445:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy specification=xen libxl: debug: libxl_event.c:813:libxl__ev_xswatch_register: watch w=0x3452b04904d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/0: register slotnum=3 libxl: debug: libxl_device.c:445:libxl__device_disk_set_backend: Disk vdev=hdb spec.backend=qdisk specification=xen libxl: debug: libxl_device.c:1268:device_hotplug: Domain 6:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04909d0: deregister unregistered libxl: debug: libxl_create.c:2161:do_domain_create: ao 0x3452b042e0a0: inprogress: poller=0x3452b04230a0, flags=i libxl: debug: libxl_event.c:751:watchfd_callback: watch w=0x3452b04904d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/6/51712/state libxl: debug: libxl_event.c:1051:devstate_callback: backend /local/domain/0/backend/vbd/6/51712/state wanted state 2 ok libxl: debug: libxl_event.c:850:libxl__ev_xswatch_deregister: watch w=0x3452b04904d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/0: deregister slotnum=3 libxl: debug: libxl_device.c:1181:device_backend_callback: Domain 6:calling device_backend_cleanup libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04904d0: deregister unregistered libxl: debug: libxl_device.c:1283:device_hotplug: Domain 6:calling hotplug script: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/6/51712 libxl: debug: libxl_device.c:1284:device_hotplug: Domain 6:extra args: libxl: debug: libxl_device.c:1290:device_hotplug: Domain 6: add libxl: debug: libxl_device.c:1292:device_hotplug: Domain 6:env: libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/6/51712 libxl: debug: libxl_event.c:720:watchfd_callback: watch epath=/local/domain/0/backend/vbd/6/51712/state token=3/0: empty slot libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04905d0: deregister unregistered libxl: debug: libxl_device.c:1268:device_hotplug: Domain 6:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04905d0: deregister unregistered libxl: debug: libxl_dm.c:180:libxl__domain_get_device_model_uid: Domain 6:dm_restrict disabled, starting QEMU as root libxl: debug: libxl_disk.c:1346:libxl__device_disk_find_local_path: Directly accessing local RAW disk /usr/jails/jails-data/freebsd1-data/dsk1.vhd libxl: debug: libxl_disk.c:1346:libxl__device_disk_find_local_path: Directly accessing local RAW disk /usr/jails/src/iso/cbsd-iso-FreeBSD-14.2-RELEASE-amd64-disc1.iso libxl: debug: libxl_dm.c:3001:libxl__spawn_local_dm: Domain 6:Spawning device-model /usr/local/lib/xen/bin/qemu-system-i386 with arguments: libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: /usr/local/lib/xen/bin/qemu-system-i386 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -xen-domid libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: 6 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -no-shutdown libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -chardev libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server=on,wait=off libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -mon libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: chardev=libxl-cmd,mode=control libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -chardev libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-6,server=on,wait=off libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -mon libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: chardev=libxenstat-cmd,mode=control libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -nodefaults libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -no-user-config libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -name libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: freebsd1 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -vnc libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: 0.0.0.0:0,password=on libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -display libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: none libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -serial libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: pty libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -device libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: VGA,vgamem_mb=32 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -boot libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: order=d libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -usb libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -usbdevice libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: tablet libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -smp libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: 4,maxcpus=4 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -device libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: rtl8139,id=nic0,netdev=net0,mac=00:16:3e:3b:68:4b libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -netdev libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: type=tap,id=net0,ifname=xnb6.0-emu,br=bridge2,script=no,downscript=no libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -machine libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: xenfv,suppress-vmdesc=on libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -m libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: 4064 libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -drive libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: file=/usr/jails/jails-data/freebsd1-data/dsk1.vhd,if=ide,index=0,media=disk,format=raw,cache=writeback libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -drive libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: if=none,readonly=on,id=ide-832,file=/usr/jails/src/iso/cbsd-iso-FreeBSD-14.2-RELEASE-amd64-disc1.iso,format=raw libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: -device libxl: debug: libxl_dm.c:3003:libxl__spawn_local_dm: Domain 6: ide-cd,id=ide-832,drive=ide-832,bus=ide.0,unit=1 libxl: debug: libxl_dm.c:3005:libxl__spawn_local_dm: Domain 6:Spawning device-model /usr/local/lib/xen/bin/qemu-system-i386 with additional environment: libxl: debug: libxl_dm.c:3007:libxl__spawn_local_dm: Domain 6: XEN_QEMU_CONSOLE_LIMIT=1048576 libxl: debug: libxl_dm.c:3007:libxl__spawn_local_dm: Domain 6: XEN_DOMAIN_ID=6 libxl: debug: libxl_event.c:813:libxl__ev_xswatch_register: watch w=0x3452b04520c0 wpath=/local/domain/0/device-model/6/state token=3/1: register slotnum=3 libxl: debug: libxl_event.c:751:watchfd_callback: watch w=0x3452b04520c0 wpath=/local/domain/0/device-model/6/state token=3/1: event epath=/local/domain/0/device-model/6/state libxl: debug: libxl_exec.c:407:spawn_watch_event: domain 6 device model: spawn watch p=(null) libxl: debug: libxl_event.c:751:watchfd_callback: watch w=0x3452b04520c0 wpath=/local/domain/0/device-model/6/state token=3/1: event epath=/local/domain/0/device-model/6/state libxl: debug: libxl_exec.c:407:spawn_watch_event: domain 6 device model: spawn watch p=running libxl: debug: libxl_event.c:850:libxl__ev_xswatch_deregister: watch w=0x3452b04520c0 wpath=/local/domain/0/device-model/6/state token=3/1: deregister slotnum=3 libxl: debug: libxl_exec.c:129:libxl_report_child_exitstatus: domain 6 device model (dying as expected) [10807] died due to fatal signal Killed libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04520c0: deregister unregistered libxl: debug: libxl_qmp.c:1884:libxl__ev_qmp_send: Domain 6: ev 0x3452b04520d8, cmd 'query-chardev' libxl: debug: libxl_qmp.c:1324:qmp_ev_lock_aquired: Domain 6:Connecting to /var/run/xen/qmp-libxl-6 libxl: error: libxl_qmp.c:1402:qmp_ev_fd_callback: Domain 6:received POLLHUP|POLLERR from QMP socket libxl: error: libxl_qmp.c:1439:qmp_ev_fd_callback: Domain 6:Error happened with the QMP connection to QEMU libxl: debug: libxl_qmp.c:1920:libxl__ev_qmp_dispose: Domain 6: ev 0x3452b04520d8 libxl: error: libxl_dm.c:3378:device_model_postconfig_done: Domain 6:Post DM startup configs failed, rc=-26 libxl: debug: libxl_qmp.c:1920:libxl__ev_qmp_dispose: Domain 6: ev 0x3452b04520d8 libxl: error: libxl_create.c:1937:domcreate_devmodel_started: Domain 6:device model did not start: -26 libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04537d0: deregister unregistered libxl: debug: libxl_dm.c:3592:libxl__destroy_device_model: Domain 6:Didn't find dm UID; destroying by pid libxl: debug: libxl_aoutils.c:649:libxl__kill_xs_path: Device Model signaled libxl: debug: libxl_event.c:813:libxl__ev_xswatch_register: watch w=0x3452b04e24d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/2: register slotnum=3 libxl: debug: libxl_event.c:751:watchfd_callback: watch w=0x3452b04e24d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/2: event epath=/local/domain/0/backend/vbd/6/51712/state libxl: debug: libxl_event.c:1051:devstate_callback: backend /local/domain/0/backend/vbd/6/51712/state wanted state 6 ok libxl: debug: libxl_event.c:850:libxl__ev_xswatch_deregister: watch w=0x3452b04e24d0 wpath=/local/domain/0/backend/vbd/6/51712/state token=3/2: deregister slotnum=3 libxl: debug: libxl_device.c:1181:device_backend_callback: Domain 6:calling device_backend_cleanup libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04e24d0: deregister unregistered libxl: debug: libxl_device.c:1283:device_hotplug: Domain 6:calling hotplug script: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/6/51712 libxl: debug: libxl_device.c:1284:device_hotplug: Domain 6:extra args: libxl: debug: libxl_device.c:1290:device_hotplug: Domain 6: remove libxl: debug: libxl_device.c:1292:device_hotplug: Domain 6:env: libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /usr/local/etc/xen/scripts/block /local/domain/0/backend/vbd/6/51712 libxl: debug: libxl_event.c:720:watchfd_callback: watch epath=/local/domain/0/backend/vbd/6/51712/state token=3/2: empty slot libxl: debug: libxl_event.c:720:watchfd_callback: watch epath=/local/domain/0/backend/vbd/6/51712/state token=3/2: empty slot libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04e25d0: deregister unregistered libxl: debug: libxl_device.c:1268:device_hotplug: Domain 6:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04e25d0: deregister unregistered libxl: debug: libxl_device.c:1268:device_hotplug: Domain 6:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04e29d0: deregister unregistered libxl: debug: libxl_device.c:1268:device_hotplug: Domain 6:No hotplug script to execute libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x3452b04e2dd0: deregister unregistered libxl: debug: libxl_domain.c:1597:devices_destroy_cb: Domain 6:Forked pid 10835 for destroy of domain libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x3452b042e0a0: complete, rc=-3 libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x3452b042e0a0: destroy libxl: debug: libxl_domain.c:1042:libxl_domain_destroy: Domain 6:ao 0x3452b042e0a0: create: how=0x0 callback=0x0 poller=0x3452b04230a0 libxl: error: libxl_xshelp.c:206:libxl__xs_read_mandatory: xenstore read failed: `/libxl/6/type': No such file or directory libxl: warning: libxl_dom.c:51:libxl__domain_type: unable to get domain type for domid=6, assuming HVM libxl: error: libxl_domain.c:354:libxl_domain_info: Domain 6:Getting domain info: No such process libxl: error: libxl_dom.c:1244:libxl__userdata_path: unable to find domain info for domain 6: No such process libxl: error: libxl_domain.c:1133:domain_destroy_callback: Domain 6:Unable to destroy guest libxl: error: libxl_domain.c:1060:domain_destroy_cb: Domain 6:Destruction of domain failed libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x3452b042e0a0: complete, rc=-15 libxl: debug: libxl_domain.c:1051:libxl_domain_destroy: Domain 6:ao 0x3452b042e0a0: inprogress: poller=0x3452b04230a0, flags=ic libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x3452b042e0a0: destroy xencall:buffer: debug: total allocations:708 total releases:708 xencall:buffer: debug: current allocations:0 maximum allocations:3 xencall:buffer: debug: cache current size:3 xencall:buffer: debug: cache hits:689 misses:3 toobig:16 xencall:buffer: debug: total allocations:0 total releases:0 xencall:buffer: debug: current allocations:0 maximum allocations:0 xencall:buffer: debug: cache current size:0 xencall:buffer: debug: cache hits:0 misses:0 toobig:0 # echo $? 3 # xl list Name ID Mem VCPUs State Time(s) Domain-0 0 4095 4 r----- 223.5 ``` Host info: ``` root@zx:/ # xl info host : zx release : 14.2-RELEASE-p1 version : FreeBSD 14.2-RELEASE-p1 GENERIC machine : amd64 nr_cpus : 20 max_cpu_id : 19 nr_nodes : 2 cores_per_socket : 10 threads_per_core : 1 cpu_mhz : 3000.000 hw_caps : bfebfbff:77bee3ff:2c100800:00000001:00000001:00000281:00000000:00000100 virt_caps : pv hvm hvm_directio pv_directio hap shadow iommu_hap_pt_share gnttab-v1 gnttab-v2 total_memory : 262108 free_memory : 255424 sharing_freed_memory : 0 sharing_used_memory : 0 outstanding_claims : 0 free_cpus : 0 xen_major : 4 xen_minor : 19 xen_extra : .1-pre xen_version : 4.19.1-pre xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit2 xen_pagesize : 4096 platform_params : virt_start=0x0 xen_changeset : xen_commandline : dom0_mem=4096M dom0_max_vcpus=4 dom0=pvh com1=115200,8n1 guest_loglvl=all loglvl=all cc_compiler : FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-proj cc_compile_by : root cc_compile_domain : cc_compile_date : Fri Jan 31 17:18:00 UTC 2025 build_id : b8db269391f959b8dea5345c74b89e3e17bef62e xend_config_format : 4 ``` Maybe I missed something? Thanks.