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
..
2012-04-02 09:33:54 -06:00
2012-09-17 14:59:37 -04:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:17:13 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2013-03-19 13:13:28 -06:00
2013-03-19 13:13:28 -06:00
2011-07-11 09:21:37 -06:00
2013-03-22 12:45:14 +01:00
2012-12-21 11:19:49 +00:00
2013-04-16 07:13:43 -04:00
2013-02-12 09:00:15 -07:00
2012-12-21 11:19:50 +00:00