]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: formatter/parser/RNG/docs for hostdev <driver name='kvm|vfio'/>
authorLaine Stump <laine@laine.org>
Fri, 15 Mar 2013 19:15:14 +0000 (15:15 -0400)
committerLaine Stump <laine@laine.org>
Fri, 26 Apr 2013 01:23:38 +0000 (21:23 -0400)
commitc4f63ef080d71508a040b25bb7500287acd5f5ce
treeaa2e84c47cf8e7b4d3097d4f5223fded375a7cf7
parent9f80fc1bd5b0469f25963dfc85946388398ccf52
conf: formatter/parser/RNG/docs for hostdev <driver name='kvm|vfio'/>

A domain's <interface> or <hostdev>, as well as a <network>'s
<forward>, can now have an optional <driver name='kvm|vfio'/>
element. As of this patch, there is no functionality behind this new
knob - this patch adds support to the domain and network
formatter/parser, and to the RNG and documentation.

When the backend is added, legacy KVM PCI device assignment will
continue to be used when no driver name is specified (or if <driver
name='kvm'/> is specified), but if driver name is 'vfio', the new UEFI
Secure Boot compatible VFIO device assignment will be used.

Note that the parser doesn't automatically insert the current default
value of this setting. This is done on purpose because the two
possibilities are functionally equivalent from the guest's point of
view, and we want to be able to automatically start using vfio as the
default (even for existing domains) at some time in the future. This
is similar to what was done with the "vhost" driver option in
<interface>.
docs/formatdomain.html.in
docs/formatnetwork.html.in
docs/schemas/domaincommon.rng
docs/schemas/network.rng
src/conf/domain_conf.c
src/conf/domain_conf.h