This will conflict with <code>libvirt_xml/devices/channel.py</code> in https://github.com/autotest/virt-test/pull/292 .  This device sub-module defines a standard class API for all devices, and should make creating/modifying/deleting much easier.  Otherwise we end up with functions like this being re-written for EVERY device-type (will be big mess and duplication).  I'll see about adding a definition for a channel device class since my pull request hasn't been merged yet.