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