• L
    conf: formatter/parser/RNG/docs for hostdev <driver name='kvm|vfio'/> · c4f63ef0
    Laine Stump 提交于
    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>.
    c4f63ef0
domaincommon.rng 106.0 KB