mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
0809508ed2
Add new <devnode> top-level <device> element, that list the associated /dev files. Distinguish the main /dev name from symlinks with a 'type' attribute of value 'dev' or 'symlink'. Update a test to check XML schema, and actually add it to the test list since it was missing. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
18 lines
705 B
XML
18 lines
705 B
XML
<device>
|
|
<name>storage_serial_3600c0ff000d7a2a5d463ff4902000000</name>
|
|
<devnode type='dev'>/dev/sdb</devnode>
|
|
<devnode type='link'>/dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C530001051009112405-0:0</devnode>
|
|
<devnode type='link'>/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0</devnode>
|
|
<devnode type='link'>/dev/disk/by-uuid/661A1A460111DA18</devnode>
|
|
<parent>pci_10df_fe00_scsi_host_scsi_device_lun8</parent>
|
|
<capability type='storage'>
|
|
<block>/dev/sdj</block>
|
|
<bus>pci</bus>
|
|
<drive_type>disk</drive_type>
|
|
<model>MSA2012fc</model>
|
|
<vendor>HP</vendor>
|
|
<serial>3600c0ff000d7a2a5d463ff4902000000</serial>
|
|
<size>15626928128</size>
|
|
</capability>
|
|
</device>
|