• J
    Allow omitting USB port · 4f903643
    Ján Tomko 提交于
    We were requiring a USB port path in the schema, but not enforcing it.
    Omitting the USB port would lead to libvirt formatting it as (null).
    Such domain cannot be started and will disappear after libvirtd restart
    (since it cannot parse back the XML).
    
    Only format the port if it has been specified and mark it as optional
    in the XML schema.
    4f903643
qemuxml2xmltest.c 32.0 KB