Windows 10 Kernel Debugging Qubes 4.2 error parsing attribute name

I want to perform Windows kernel debugging with two Windows HVMs. I followed the instructions at Qubes OS Windows Debugging, but I am using Qubes OS 4.2, and it does not work.

After creating the /etc/qubes/templates directory and the /etc/qubes/templates/libvirt/by-name/target-vm.xml file, when I try to start the target-vm, I get the error: “Error parsing attribute name <interface type="ethernet">”.

Here is /etc/qubes/templates/libvirt/by-name/target-vm.xml:

{% extends 'libvirt/xen.xml' %}
{% block network %}
<interface type="ethernet">
      <mac address="{{ vm.mac }}" />
      <ip address="{{ vm.ip }}" />
{% if vm.ip6 %}
      <ip address="{{ vm.ip6 }}" family='ipv6' />
{% endif %}
      <backenddomain name="{{ vm.netvm.name }}" />
      <script path="vif-route-qubes" />
      <model type="e1000" />
</interface>
{% endblock %}

{# vim : set ft=jinja ts=4 sts=4 sw=4 et : #}