I see the different version of virsh command have different support for options here too.  What do you think about not specifying the particular names as parameters and instead just have something like <code>node_set_memtune(options, **dargs)</code>.  That saves you from having to document and check all the various options (which may not even be valid for the node version).