Symptom: The VM restarts every 30 seconds.
Solution: The vQFX kernel panics if it detects less than 4096 MB RAM. Ensure your Libvirt XML has <memory unit='MB'>4096</memory>.
Because this is v11.0R1:
-drive file=...,lock=on or when the hypervisor detects the image is in use.vQFX is not a standard Linux VM; it requires specific QEMU arguments. Standard Ubuntu or CentOS templates will fail to boot. Create an XML file (vqfx-exclusive.xml):
<domain type='kvm'>
<name>vqfx-exclusive</name>
<memory unit='GiB'>4</memory>
<vcpu>2</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough' check='none'/>
<devices>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none' io='native'/>
<source file='/var/lib/libvirt/images/vqfx202r1-10.qcow2'/>
<target dev='sda' bus='sata'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:aa:bb:01'/>
<source bridge='br0'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
</devices>
</domain>
Critical tweaks for the exclusive image: