• L
    conf: support reporting maxCount attribute for virtual_functions cap · 0d210c47
    Laine Stump 提交于
    Report the maximum possible number of VFs for an SRIOV PF, like this:
    
       <capability type='virtual_functions' maxCount='7'>
          ...
       </capability>
    
    I've just discovered that the virtual_functions and physical_functions
    capabilities are not supported in the virNodeDeviceParse functions,
    only in virNodeDeviceFormat (I suppose because they are only reported,
    not set from XML). This should probably be remedied, but is less
    immediately useful than the current patch.
    0d210c47
node_device_conf.c 64.2 KB