• O
    nodedev: Dump max vports and vports in use for HBA's XML · 448be8f7
    Osier Yang 提交于
    This enrichs HBA's xml by dumping the number of max vports and
    vports in use. Format is like:
    
      <capability type='vport_ops'>
        <max_vports>164</max_vports>
        <vports>5</vports>
      </capability>
    
    * docs/formatnode.html.in: (Document the new XML)
    * docs/schemas/nodedev.rng: (Add the schema)
    * src/conf/node_device_conf.h: (New member for data.scsi_host)
    * src/node_device/node_device_linux_sysfs.c: (Collect the value of
      max_vports and vports)
    448be8f7
node_device_conf.c 52.4 KB