Rename 'kvm' test type to 'qemu'

A frequent request we've got from users is that the name
'kvm' makes assumptions that are not true for a lot of
the use cases of the test suite. Then let's rename
the subtest 'kvm' to 'qemu', making it more accurate.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_vm to qemu_vm

As part of our process of moving references kvm -> qemu.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_monitor to qemu_monitor

As part of our changes from kvm -> qemu.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_virtio_port to qemu_virtio_port

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_storage to qemu_storage

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_qtree to qemu_qtree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Rename kvm_installer to qemu_installer

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
KVM Test: remove the unnecessary double quote on uri when migrate using qmp monitor

otherwise, the migration would fail.
Tested on my localhost using F18(both hmp && qmp)
before patch:
{"execute": "migrate", "arguments": {"uri": "\"exec:nc localhost 5200\"", "blk": false, "inc": false}, "id": "fUOKXSd2"}
after patch:
{"execute": "migrate", "arguments": {"uri": "exec:nc localhost 5200", "blk": false, "inc": false}, "id": "fUOKXSd2"}

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
Fix test types lying around with the kvm - qemu conversion

We've only spot this mistake now :(

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
README: Update info

Point out to the new Debian repos and documentation.

Also, make small corrections in the info presented.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
run: Add --monitor, for monitor type

Allow to test qmp vs hmp monitor types more easily
by adding a new switch --monitor.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
KVM Test: remove the unnecessary double quote on uri when migrate using qmp monitor

otherwise, the migration would fail.
Tested on my localhost using F18(both hmp && qmp)
before patch:
{"execute": "migrate", "arguments": {"uri": "\"exec:nc localhost 5200\"", "blk": false, "inc": false}, "id": "fUOKXSd2"}
after patch:
{"execute": "migrate", "arguments": {"uri": "exec:nc localhost 5200", "blk": false, "inc": false}, "id": "fUOKXSd2"}

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
virt-libvirt: Add NetworkXML class for libvirt_xml module.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: Add configuration for virsh net-create test.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: Add test module for virsh net-create.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: Reorganized virsh net_create configuration

Flipped variant tree inside out so it's based on expected
output rather than input.  This allows test module code
to require fewer conditionals and special case branches.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: virsh module cleanup & doc update

* Increase timeout used for VirshPersistent to allow
  recovery oportunity when libvirtd has just been started
  or restarted.
* Docstring updates
* Simplification of a few net-* functions

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add virsh.net_dumpxml method

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add virsh.net_define() and net_undefine methods

Signed-off-by: Chris Evich <cevich@redhat.com>
virt-libvirt: Add virsh.net_start() and net_autostart methods

Signed-off-by: Chris Evich <cevich@redhat.com>