{% load i18n %} {% load bootstrap_icons %} {# the add forms of the Host devices tab: each choice disabled with the reasons it cannot be given #} {% if error %}
{% blocktrans %}The host's devices could not be read: {{ error }}{% endblocktrans %}
{% else %}
{% csrf_token %}
{% csrf_token %}
{% if pci_frozen %}{% trans "A paused VM, or one with a saved state, does not change its PCI devices." %} {% elif running %}{% trans "The device is plugged into the running VM at once and kept for its next start; libvirt binds it to vfio-pci. It needs a free slot: on a q35 VM a free pcie-root-port, added while the VM is shut off." %} {% else %}{% trans "libvirt binds the device to vfio-pci when the VM starts, and gives it back to the host when the VM stops; a device bound to vfio-pci before stays bound to it." %}{% endif %}
{% endif %}