Skip to content
  • Laine Stump's avatar
    conf: put hostdev PCI backend into a struct · e04ca000
    Laine Stump authored
    
    
    The new struct is virDeviceHostdevPCIDriverInfo, and the "backend"
    enum in the hostdevDef will be replaced with a
    virDeviceHostdevPCIDriverInfo named "driver'. Since the enum value in
    this new struct is called "name", it means that all references to
    "backend" will become "driver.name".
    
    This will allow easily adding other items for new attributes in the
    <driver> element / C struct, which will be useful once we are using
    this new struct in multiple places.
    
    Signed-off-by: default avatarLaine Stump <laine@redhat.com>
    Reviewed-by: default avatarPeter Krempa <pkrempa@redhat.com>
    e04ca000