Merge pull request #694 from FengYang/sr-iov

sr-iov:  Update PciAssignable class to support more feature.
virttest.qemu_vm: PEP8 fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.test_setup: PEP8 fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Add readonly mode support for virsh command.

Readonly mode is an important part for virsh command,so add
a boolean parameter 'readonly' when execute virsh commnd.

Signed-off-by: Yanbing Du <ydu@redhat.com>
virt-libvirt: Impl. libvirt_xml graphics device

* Simple/minimal implementation with passwd property, more can be added
  later.
* Thanks to Kyla - Wei Zhang <weizhan@redhat.com> for requesting and
  helping test.
* Added unittest for graphics device to verify changes are commited to
  vm_xml instance.

Signed-off-by: Chris Evich <cevich@redhat.com>
utils/check_patch.py: Fix incorrect variable reference

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.test: skip replace floppy_ks in kernel_params

Reading ks from floppy driectly isn't works for some distr but boot option
'ks=hd:/dev/fd0' can reading ks from mounted floppy; so skip replace
this options;

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

Small fix for unattended_install.floppy_ks test
qemu.tests: enhance pci_test_cmd for block_hotplug testing

Add rescan and list disk steps; Do rescan to ensure diskpart read latest disk
configuration and it will avoid diskpart report
'The disk you specified is not valid.' error, list disk step will record disk
info before check disk drive;
New steps will helpful for debugging when test failed at pci device test step;

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

Enhance pci_test_cmd for block_hotplug testing
Add test for virsh autostart

Signed-off-by: Yanbing Du <ydu@redhat.com>
Update judgement about 'autostart_vm' as it's a boolean value

Signed-off-by: Yanbing Du <ydu@redhat.com>
virttest: Make cert-subject in spice related comand works with hmp/qmp monitor

Now command 'client_migrate_info hostname=10.66.72.60,protocol=spice,port=3001,
tls-port=3201,cert-subject="C=CZ/L=BRNO/O=SPICE/CN=my Server10.66.72.60"'
could not works in qmp/hmp monitor.
We can not use "=" in cert-subjec parameter.
This patch fix this issue both in qmp/hmp monitor

Signed-off-by: Feng Yang <fyang@redhat.com>