The <type/> element for <capability type='scsi'> part of nodedev XML is optional (see udevProcessSCSIDevice()) and as such might not be formatted into nodedev XML (see virNodeDeviceCapSCSIDefFormat()). Reflect this in our RNG. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- docs/schemas/nodedev.rng | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng index 777227c38a..789b21b8da 100644 --- a/docs/schemas/nodedev.rng +++ b/docs/schemas/nodedev.rng @@ -496,9 +496,11 @@ <ref name="unsignedLong"/> </element> - <element name="type"> - <text/> - </element> + <optional> + <element name="type"> + <text/> + </element> + </optional> </define> <define name="capstorage"> -- 2.32.0