libvirt_xml: Support configuring clock element in LibvirtXML.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
perf.cfg: update indexes to compute averages

We just adjusted the title order in the result, so
the avg_update indexes also need to be updated.

tpkt_per_exit 13=6/11,rpkt_per_irq 12=5/10 according
to following columns.

2             3       4              5       6
throughput    CPU     thr_per_CPU    rx_pkts tx_pkts
7         8        9        10       11
rx_byts   tx_byts  re_pkts  irq_inj  io_exit
12           13
rpkt_per_irq tpkt_per_exit

Signed-off-by: Amos Kong <akong@redhat.com>
virttest.virsh: Add wrapper for nodesuspend

Add standard wrapper function in virsh.py for calling virsh command
`nodesuspend`.

Signed-off-by: Hao Liu <hliu@redhat.com>
virt/propcan: Add a update method into PropCanBase class.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
utils_test/libvirt: Add a function pci_label_from_address.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt_xml/nodedev_xml: Add virt_functions in PCIXML class.

This patch add a support for virtual functions pci devices.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
add support extra_cdrom_ks installation for WinNT6.0 guest

Signed-off-by: Xu Tian <xutian@redhat.com>
update ks to execute finish.bat from root partition

Signed-off-by: Xu Tian <xutian@redhat.com>
Always keep screendumps

screendumps are important, the current
policy of saving it when case error only is
not enough, if a VM network works fine and
case pass, but VM vga malfunction, deleted
them would potential miss bugs

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
virttest.virsh: Fix API nodedev_list

This commit makes nodedev_list according with other APIs.
(Use virsh optional option name as API keyword argument name)

Signed-off-by: Hao Liu <hliu@redhat.com>
Set autoyast iso as 1st cdrom for url/nfs unattended_installation

For unattended_install.url and unattended_install.nfs,
autoyast.iso will be mounted as 1st cdrom.

Follow Paolo's suggestion, Add code to handle kernel_params
in unattended_install.py

Signed-off-by: Lin Ma <lma@suse.com>
Couple of miscellaneous fixes

utils_misc: Need to add parameter for a %s directive in message
            for get_qemu_binary method

utils_test/libvirt: Use 'permissive' not 'Permissive' since the set_status
                    expects the lower case

virsh: Simple typo in comment for net_state_dict() which was copied from
       a similar pool function, but the comment change was missed
Update the md5sum for fedora 20 ppc64

The current md5sum for fedora 20 ppc64 ISO is wrong.
This patch is to correct it.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
virttest.env_process: Record qemu pid in screendump folder name.

Sometimes, Two qemu may share same vm.name. So add qemu pid to
screendump folder name.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.qemu_vm: Update clone VM to env in vm.migrate().

Now we do not record cloned VM to env. So we only can catch screendump
for source VM.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.env_process: Encode screendump image to video in postprocess()

Now we Encode screendump image to video in postprocess_vm(), but it could only
encode source VM's image to video in migration.
So move the function to postprocess()

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #1476 from yangdongsheng/pci_passthrough

libvirt_xml: Improvement for nodedev_xml.
virttest.virt_vm: PEP8 Fix
virttest.utils_test.libvirt: PEP8 Fix

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1480 from yumingfei/timer

libvirt_xml: Support configuring clock element in LibvirtXML.