libvirt_xml.channel enhancements&Discard configurations

1.Support channel for libvirt xml devices.
2.Support discard for attaching device.