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