add scsi-target-utils pkg to support migrate.after_extensive_io.iscsi

support RHEL.5/6 Fedora
and disable legacy rhel guests as they dont have such pkg

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
iometer_windows.performance.msi_on: disable WinXP/2003 as it dont support msi

WinXP/2003 dont support MSI, so this case
is expected to fail

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
Ubuntu guest system_reset_bootable fix

As Ubuntu would make grub stop OS selection screen
when it encountering power loss, thus case after
system_reset_bootable would be blocked, adding
a workaround, OS older then 12.04 are not cared.

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
Merge pull request #840 from yumingfei/stress_migration

libvirt.tests: Add migration test for virsh_migrate_stress.
libvirt-xml: improvement for network xml

Add slot for 'portgroup', 'bandwidth_inbound', 'bandwidth_outbound'

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-xml: implement interface in devices.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-xml: Add methods to make xml take effect.

*Add undefine method to remove network.
*Add define method to define network from self.xml.
*Add start method to start network.
*Add sync method to call undefine and define.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-tests: Add test for network bandwidth.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virt-libvirt: network bandwidth test use default config

Instead of hard-coding the 'default' config (which may not be the
same for everyone) look up the test-defined test-network and
search down the nic from that.

N/B: The portroup test may Fail due to external
interference, test environment must be tightly
controlled for this one test.

Signed-off-by: Chris Evich <cevich@redhat.com>
disable cases used netsh on WinXP

As WinXP is buggy on 'netsh interface set' sub commands,
not worth to fix on such out of date OS, disabling.

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
virt: Fix remote login matching Last Login

Paolo Bonzini noticed our remote handle_prompts code matching the
"Last Login: blah" line which is common to many distros.  This
fixes the problem by using a "negative lookbehind", i.e. it
matches "Login:" only if it is NOT preceeded by a match of
"Last:".

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Ignore exception detail if debug is False

For now, when use virsh.domain_exists() or vm.exists()
to check a guest, if it's not exist, there will be some
exception details printed in log, this may confuse users,
this will make them think there is an error happened.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
shared.autounattend: install python for win8 and win2012 guest

Signed-off-by: Xu Tian <xutian@redhat.com>
virttest.qemu_vm: Typo fix: tapfds -> vhostfds

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.qemu_vm.py: Correct parameter in add_option_rom(), help -> devices

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #979 from FengYang/update2

some typo and bug fix in next tree
virttest.virt_vm: Do not check index error by 'self.virtnet < index'.

parameter index may be a string or int. When it is a string,
VMInterfaceIndexError() will be raised. It is not what we want.

No matter string or int used, self.virtnet[index] will raise IndexError()
for unavailable index.

So remove
        if self.virtnet < index:
            raise VMInterfaceIndexError()

And catch
IndexError in graceful_shutdown() in qemu_vm.py.

Signed-off-by: Feng Yang <fyang@redhat.com>
update Win8.1 2012R2 to GA

and add a new unattended file for 2012R2
as it require differ product string compare to 2012
"Windows Server 2012 R2 SERVERDATACENTER"

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
Merge pull request #964 from xiaoqing-wei/add_scsi-target-utils_to_ks

add scsi-target-utils pkg to support migrate.after_extensive_io.iscsi
Merge pull request #973 from xiaoqing-wei/netsh_disable_WinXP

disable cases used netsh on WinXP