Add testcase virsh_net_edit

New files:
network/virsh_net_edit.cfg
network/virsh_net_edit.py

Signed-off-by: Guannan Ren <gren@redhat.com>
libvirt-tests: Add test case for migrate-compcache

Test command: migrate-compcache <domain> [--size <number>]

* Run migrate-compcache command and check return code

Signed-off-by: Hao Liu <hliu@redhat.com>
libvirt-tests: Add '--daemon' option test for virsh version

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
snapshot_disk: Perform xml save/restore

For some reason this test failed in a long run, subsequent tests failed
because improper cleanup left a snapshot in the xml, but not in the file
system resulting in the next test(s) failing to find the file.
Merge pull request #57 from liyangfnst/version

libvirt-tests: Add '--daemon' option test for virsh version
Add new test for domdisplay
Merge pull request #32 from kylazhang/domdisplay

Add new test for domdisplay
Merge pull request #44 from Guannan-Ren/net-edit

Add virsh command testcase virsh_net_edit
libvirt.tests: Fix pep8 problems for net_edit test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #59 from jferlan/snapshot_disk

snapshot_disk: Perform xml save/restore
numatune: Check for required utility

The test liberally uses the 'numactl' utility, but does not first
verify that the tool exists resulting in FAIL's rather than SKIP's.
Don't assume control groups active

The test as written assumes control groups are active, thus when attempting
to stop and restart things don't necessarily go 'as expected'.  Furthermore,
the failure path where different results are expected when stopped won't be
a failure resulting in a test FAIL that isn't valid.

Modify the test such that when it's stopping control groups - keep track
of whether they were started before stopping, then in the methods to
{set|get}_numa_parameters() add a check in the expected failure path to
not FAIL the test if cgroups were not stopped.

Adjust the libvirtd restart logic a bit since that restart is only
necessary if control groups were stopped.

Swap order to finally to restore guest state as the libvirtd restart
can fail/except thus we wouldn't have restore the guest leading to
potential other problems.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Fix test name

Looks like this test was missed - change to use just 'run()' as the
entry point... Message in debug.log is:

"Legacy test entry point function name found..."
Merge pull request #68 from jferlan/dompmsuspend

Fix test name
Merge pull request #45 from Hao-Liu/migrate_compcache

libvirt-tests: Add test case for migrate-compcache
libvirt.tests: Shutdown vm gracefully for safe.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #21 from jferlan/numatune

numatune: Check for required utility
libvirt.tests: Fix numatune test bugs.

Checking numa may fail because len(cpus_parse...) will return
wrong expected node number when type is "excluding".
"0-2,^1" for cpus_parse() will return 2 instead of 3 which is expected, if
there are 2 nodes on machine, it will cause unexpected failed.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>