[libvirt] [PATCH] Removing devicePath member from dev struct

Dave Allan dallan at redhat.com
Wed Nov 18 21:48:42 UTC 2009


I realized that I inadvertently added a member to the def struct to 
contain each device's sysfs path when there was an existing member in 
the dev struct for "OS specific path to device metadat, eg sysfs"  Since 
  the udev backend needs to record the sysfs path while it's in the 
process of creating the device, before the dev struct gets allocated, I 
chose to remove the member from the dev struct.  I've attached a patch. 
  An alternative would be to store the information twice, but that seems 
crufty to me.

Dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Remove-devicePath-member-from-dev-struct-to-avoid-re.patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091118/6042bd2f/attachment-0001.ksh>


More information about the libvir-list mailing list