virt-libvirt: Add test module for virsh net-autostart.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
to add virsh pool related func
Adding configuration file for virsh pool test
Adding testcase for virsh pool related commands
libvirt: Proportionate virsh pool module to new structure.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.virt_vm: Update panic_re used in verify_kernel_crash

VMDeadKernelCrashError will be raised for following warning
call trace. This patch try to fix this issue.

------------[ cut here ]------------
[ 0.023009] WARNING: at arch/x86/kernel/cpu/amd.c:27 init_amd+0x10e/0x654()
[ 0.024004] Hardware name: KVM
[ 0.025004] rdmsrl_amd_safe should only be used on K8!
[ 0.026004] Modules linked in:
[ 0.028005] Pid: 0, comm: swapper/0 Not tainted 3.9.0-0.55.el7.x86_64 #1
[ 0.029004] Call Trace:
[ 0.030008] [] ? init_amd+0x10e/0x654
[ 0.031008] [] warn_slowpath_common+0x70/0xa0
[ 0.032006] [] warn_slowpath_fmt+0x4c/0x50
[ 0.033006] [] ? early_init_amd+0xb7/0xcd
[ 0.034008] [] init_amd+0x10e/0x654
[ 0.035006] [] identify_cpu+0x22c/0x357
[ 0.036010] [] identify_boot_cpu+0x10/0x3b
[ 0.037006] [] check_bugs+0x9/0x2d
[ 0.038007] [] start_kernel+0x3d1/0x409
[ 0.039006] [] ? repair_env_string+0x5c/0x5c
[ 0.040006] [] ? early_idt_handlers+0x120/0x120
[ 0.041006] [] x86_64_start_reservations+0x2a/0x2c
[ 0.042008] [] x86_64_start_kernel+0xf3/0x100
[ 0.043013] ---[ end trace d793b5b0c6ba38cc ]---

Changes in V2:
raise error.TestWarn for this kind warning call trace.

Signed-off-by: Feng Yang <fyang@redhat.com>
virt: Modify libvirtxml class

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add VMCPUXML class

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt: Add some testcase for virsh cpu-compare

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add some comments, add chech_feature_name for users, fix some issues

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: rename libvirt_xml to capability_xml

Also one-char whitespace fix for vm_xml.py

Signed-off-by: Chris Evich <cevich@redhat.com>
virt:Fix some conflicts

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Fix a bug in VMCPUXML class

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: Modify virsh.dumpxml()

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt_xml-accessor: modify class XMLElementInt.

Add a carry into __slots__ and make XMLElementInt be able to
handle more kinds of integer (binary, octal, decimal and hexadecimal).

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add unittest for new XMLElementInt.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
virsh: Add nodedev_dumpxml in virsh modeule.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
virt: add nodedev_xml into libvirt_xml module.

nodedev_xml for node device refer to http://libvirt.org/formatnode.html.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add unittest for nodedev_xml.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
tests.jumbo:Fix get_linux_ifname() error

get_linux_ifname() has been moved from utils_test into utils_net.
But the commit 7db6cc4db5ba5d86659839b4afee96603c346520
change it back to utils_test for linux.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>