]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Dump max vports and vports in use for HBA's XML
authorOsier Yang <jyang@redhat.com>
Mon, 7 Jan 2013 17:05:32 +0000 (01:05 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 25 Mar 2013 12:46:05 +0000 (20:46 +0800)
commit448be8f706693327d77756fb47aa275edfb14977
tree3ff7398339465790fe9479be0b796cc71f8a7d44
parent4360a098441ffca5603543eeaeae2e397879113f
nodedev: Dump max vports and vports in use for HBA's XML

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)
docs/formatnode.html.in
docs/schemas/nodedev.rng
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/node_device/node_device_linux_sysfs.c