[libvirt PATCH v5 15/30] nodedev: add function to generate mdevctl define command