libvirt/tests/networkxml2xmlin
Laine Stump d64e114f14 network: support <driver name='vfio'/> in network definitions
I remembered to document this bit, but somehow forgot to implement it.

This adds <driver name='kvm|vfio'/> as a subelement to the <forward>
element of a network (this puts it parallel to the match between
mode='hostdev' attribute in a network and type='hostdev' in an
<interface>).

Since it's already documented, only the parser, formatter, backend
driver recognition (it just translates/moves the flag into the
<interface> at the appropriate time), and a test case were needed.

(I used a separate enum for the values both because the original is
defined in domain_conf.h, which is unavailable from network_conf.h,
and because in the future it's possible that we may want to support
other non-hostdev oriented driver names in the network parser; this
makes sure that one can be expanded without the other).
2013-04-26 21:51:12 -04:00
..
8021Qbh-net.xml
bandwidth-network.xml
dhcp6host-routed-network.xml use client id for IPv6 DHCP host definition 2013-02-25 02:49:06 -05:00
direct-net.xml
empty-allow-ipv6.xml network: allow guest to guest IPv6 without gateway definition 2012-12-05 14:58:32 -05:00
host-bridge-net.xml
hostdev-pf.xml network: support <driver name='vfio'/> in network definitions 2013-04-26 21:51:12 -04:00
hostdev.xml conf: parser/formatter/rng for <forward mode='hostdev'> 2012-08-17 15:43:26 -04:00
isolated-network.xml network: allow guest to guest IPv6 without gateway definition 2012-12-05 14:58:32 -05:00
nat-network-dns-hosts.xml
nat-network-dns-srv-record-minimal.xml
nat-network-dns-srv-record.xml
nat-network-dns-txt-record.xml
nat-network.xml
netboot-network.xml Revert "Add support for <option> tag in network config" 2013-02-27 10:55:24 -05:00
netboot-proxy-network.xml Revert "Add support for <option> tag in network config" 2013-02-27 10:55:24 -05:00
openvswitch-net.xml
passthrough-pf.xml conf: parser/formatter/rng for <forward mode='hostdev'> 2012-08-17 15:43:26 -04:00
routed-network.xml
vepa-net.xml