Since the switch to Incus I had to rebuild my VMs in TrueNAS and they don’t shutdown properly. Some do and some don’t.
Here is the command of the running VM from TrueNAS:
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit 8_swag_dmz
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>8_swag_dmz</name>
<uuid>6fdd24e5-e8df-489d-b0da-d8d7f716a15d</uuid>
<title>swag_dmz</title>
<description>SWAG Server</description>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-10.0'>hvm</type>
</os>
<features>
<acpi/>
<apic/>
<msrs unknown='ignore'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'>
<topology sockets='1' dies='1' clusters='1' cores='4' threads='1'/>
<cache mode='passthrough'/>
</cpu>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none' io='threads' discard='unmap'/>
<source dev='/dev/zvol/nvme-mirror/VM/swag_dmz-l9xe3o'/>
<target dev='sda' bus='sata'/>
<serial>9nfHMkTd</serial>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='nec-xhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</controller>
<interface type='bridge'>
<mac address='00:a0:98:2b:44:71'/>
<source bridge='br40'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5914' autoport='no' listen='192.168.xx.xx' passwd='password'>
<listen type='address' address='192.168.xx.xx'/>
</graphics>
<audio id='1' type='none'/>
<video>
<model type='qxl' ram='131072' vram='65536' vgamem='65536' heads='1' primary='yes'>
<resolution x='1920' y='1080'/>
</model>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</memballoon>
</devices>
</domain>
I don’t know what else to do but this is getting worse and I was hoping the latest version, 25.10-RC.1, would resolve this but this has been plaguing me since the move to Incus and the rebuild.
What I see is I issue the power off command in the OS and it just hangs… I have to go into the TrueNAS UI and hard power off the VM. What can I check?