libguestfs: Add testcases for error_test of guestfs_add.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.test: Fix guestfs_add for new libguestfs version.

In new libguestfs version, all disks will be recognised with /dev/sdx.
But virtio disks of vm will be /dev/vdx in vm.So change gotten
/dev/sdx in guestfish to /dev/vdx if it is necessary.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests: Add a case to install hck client in Windows guest

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
device_bit_check.cfg: replace scsi_extra_params_hda with blk_extra_params

change the parameter name scsi_extra_params_hda to blk_extra_params.

Signed-off-by: Xiangmin Han <xhan@redhat.com>
virsh: Add options in virsh.restore() fucntion.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-tests: Use tmp_file for virsh restore

Reported-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests.mac_change: Support file transfer test after mac changing

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.cfg.device_assignment: Add new device_assignment sub case configure.

Signed-off-by: Feng Yang <fyang@redhat.com>
share.cfg.guest-os: Limit pf_mac_change test case on guest.

pf_mac_change case could not work on WinXP.
Set change_cmd parameter for Windows/Linux guest.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.tests.pci_hotunplug: Support sub test before/after unplugging.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.tests: Add pf hotplug test case.

Signed-off-by: Feng Yang <fyang@redhat.com>
Unify Windows unattended files

making the cmd num aligned, to avoid miss any tiny cmd in the future.
this patch is done by update win2008(NT6.0) first, then
copied to all other OSes, with necessary modification,
and cmd adjustment:
1) avoid using '/All /LimitAccess' on NT6.1, as do not supported
2) use ocsetup instead of dism on NT6.0, as do not available
3) this patch also resolved some cmd are lost at some OS(timedrift)
4) move enable ahci booting registry modification to
   <FirstLogonCommands> part to Workaround MSFT bug
5) and added explain for some cmds
6) coverted by unix2dos
7) as switched to use name to select install img, now Win 8.1 needs
   it's own unattended_file

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
virttest: increase CMD_TIMEOUT

sometimes, we can not read qmp socket response immedicately if host under
heavy IO load (eg, drive_mirroring to net file system), autotest will raise
error 'Received no response to QMP or Received a incorrect response ID',
increase CMD_TIMEOUT to 120s to avoid this kind of issue;

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: add new case for drive_mirroring test

negative test for cancel mirroring job that blocked by firewall;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #1291 from xutian/cancel_mirror_with_firewall

New case to test cancel mirroring job blocked by firewall
guest-os: add RHEL6.5.i386 config file

add RHEL6.5.i386 config file

Signed-off-by: Shuping Cui <scui@redhat.com>
Merge pull request #1293 from xiaoqing-wei/unify_win_xmls

Unify Windows unattended files
Merge pull request #1153 from yumingfei/guestfs_add

Libguestfs: Enhancements of guestfs_add test.
shared.cfg: Add configure to make mac_changeable works for windows guest.

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

Virsh restore