]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: Expose sysfs path of device
authorOsier Yang <jyang@redhat.com>
Mon, 3 Jun 2013 10:05:30 +0000 (18:05 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 18 Jun 2013 08:31:07 +0000 (16:31 +0800)
commitc4a4603de5b02daa37274c3a5ff299aa50eca12a
treef8abc3d35c4ad621115643d76c9f01f0881916b9
parentb5c5f236bb75d6280ab5a092f00de626c07f77a5
nodedev: Expose sysfs path of device

The name format is constructed by libvirt, it's not that clear to
get what the device's sysfs path should be. This exposes the device's
sysfs path by a new tag <path>.

Since the sysfspath is filled during enumerating the devices by
either udev or HAL. It's an output-only tag.
src/conf/node_device_conf.c