virt-libvirt: Standardize VMXML device package module handling

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Base classes for VMXML devices

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add VMXML serial device base class

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Standardize VMXML device package module handling

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Base classes for VMXML devices

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Add VMXML serial device base class

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Standardize VMXML device package module handling

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add xml validation method and property

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add device manipulation to vm_xml module

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Base classes for VMXML devices

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Add device manipulation to vm_xml module

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Add device manipulation to vm_xml module

Signed-off-by: Chris Evich <cevich@redhat.com>
fixup! virt-libvirt: Add device manipulation to vm_xml module

Signed-off-by: Chris Evich <cevich@redhat.com>
Fix: slots should add a special list, not a string.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Fix: find_module should be given a list include pathes.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add Serial class for libvirt_xml/devices/serial module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Change the implement of get_devices in vm_xml module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
fixup! Add Serial class for libvirt_xml/devices/serial module.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Change libvirt_xml API (virsh parameter order)

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Improve vm_xml device support + unittests

* Add ability to compare LibvirtXMLBase derived instances
* Fixed indentation problems in libvirt_xml.devices.librarian
* Added ability to create devices from ElementTree elements
* Added simplistic input element XML validation
* Simplified Serial device class hierarchy
* Added new unittests for serial devices
* Added new unittests for vm_xml device enumeration / comparison

Signed-off-by: Chris Evich <cevich@redhat.com>