[Libvirt-cim] [PATCH V2 13/48] Fix xml parsing algorithm for parse_input_device()