]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Improve nodedev parent/child relationships
authorDavid Allan <dallan@redhat.com>
Thu, 27 May 2010 21:36:54 +0000 (17:36 -0400)
committerDavid Allan <dallan@redhat.com>
Fri, 28 May 2010 16:48:45 +0000 (12:48 -0400)
commit8b46a7bbdbf19775a4825d24f0ad6cf36acb58d0
treede95bdb4a4f187546aa577bdf6c0c373d1cf5671
parent1a5c465ee5eb18c3bf7390a73da4beeb4448cd52
Improve nodedev parent/child relationships

* If a nodedev has a parent that we don't want to display, we should
  continue walking up the udev device tree to see if any of its
  earlier ancestors are devices that we display.  It makes the tree
  much nicer looking than having a whole lot of devices hanging off
  the root node.
src/node_device/node_device_udev.c