Implemented the walking code. Also adding this as another case (that can't be translated / accessed): <interface type='vhostuser'> <model type='virtio'/> <source type='unix' path='/nothing/of/this/exists' mode='server'/> </interface>
Generates: "/run/symlinkdisk-doesexist" rwk, "/run/symlinkdisk-doesnotexist" rwk, "/run/symlinksocket-doesexist" rw, "/run/symlinksocket-doesnotexist" rw, "/run/pathdoesnotexist/symlinksocket" rw, "/run/symlinknet-doesexist" rw, "/run/symlinknet-doesnotexist" rw, "/nothing/of/this/exists" rw,
Which is exactly what we want.
Will look at syntax/style checks after lunch...
Implemented the walking code. nothing/ of/this/ exists' mode='server'/>
</interface>
Also adding this as another case (that can't be translated / accessed):
<interface type='vhostuser'>
<model type='virtio'/>
<source type='unix' path='/
Generates: symlinkdisk- doesexist" rwk, symlinkdisk- doesnotexist" rwk, symlinksocket- doesexist" rw, symlinksocket- doesnotexist" rw, pathdoesnotexis t/symlinksocket " rw, symlinknet- doesexist" rw, symlinknet- doesnotexist" rw, of/this/ exists" rw,
"/run/
"/run/
"/run/
"/run/
"/run/
"/run/
"/run/
"/nothing/
Which is exactly what we want.
Will look at syntax/style checks after lunch...