libvirt_xml: Improvement for nodedev_xml.