Let's follow the pattern of all recent additions, do only minimum work in these functions.  Can just <code>return command('nodedev-dumpxml %s' % name, **dargs) </code>.  Let the caller figure out what to do with CmdResult instance :)