virttest: Remove duplicate lines in qemu_vm

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.qemu_device: Make virtio-scsi-pci bus can support num_queues

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Docs: Update multi host migration instructions

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
test_setup: Restart polkitd for rule to take effect

After some research, we found that polkit rule will take 1 second to
take effct after change. This will cause some fail cases if interval
between checking access and writing rule are short enough.

yumingfei pointed out restart polkit service will force rules to take
effect.

Signed-off-by: Hao Liu <hliu@redhat.com>
virttest.virsh: Update snapshot_current function

Simplify the function to only return CmdResult instance, did not
handle cmd status in function, which will benefit for adding more
negatvie cases.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt_xml: Support guest panic dump

Signed-off-by: Yanbing Du <ydu@redhat.com>
utils_libguestfs: Add some new APIs
capability_xml: Add getter for power_management

Add a function to get a list contains all supported power management
methods.

Signed-off-by: Hao Liu <hliu@redhat.com>
utils_config: Add new class to manipulate config files

A set of classes to manipulate options of a libvirt related configure
files like `/etc/libvirt/libvirtd.conf` in a property's way.

Variables "__option_types__" and "conf_path" must be setup in the
inherented classes before use.

"__option_types__" is a dict contains every possible option as keys and
their type ("boolean", "int", "string", "float" or "list") as values.

Basic usage:
1) Create a config file object:
>>> config = LibvirtdConfig()

2) Set or update an option:
>>> config.listen_tcp = True
>>> config.listen_tcp = 1
>>> config.listen_tcp = "1" # All three have the same effect.

>>> # If the setting value don't meet the specified type.
>>> config.listen_tcp = "invalid"
>>> # It'll thown an warning message in log and set a raw string instead.

>>> # Use set_* methods when need to customize the result.
>>> config.set_raw("'1'")

3) Get an option:
>>> is_listening = config.listen_tcp
>>> print is_listening
True

4) Delete an option from the config file:
>>> del config.listen_tcp

5) Make the changes take effect in libvirt by restart libvirt daemon.
>>> config.sync()

6) Restore the content of the config file.
>>> config.restore()

Signed-off-by: Hao Liu <hliu@redhat.com>
Add uuid option in disk auth xml.
Fix a bug in create_disk_xml function.
Merge pull request #1689 from Hao-Liu/fix_polkit

test_setup: Restart polkitd for rule to take effect
Merge pull request #1761 from will-Do/vm_panic

libvirt_xml: Support guest panic dump
Merge pull request #1766 from Hao-Liu/fix_cap_xml

capability_xml: Add getter for power_management
Merge pull request #1765 from vanbogithub/bfan-next

utils_libguestfs: Add some new APIs
Merge pull request #1781 from rbian/disk-auth

Add uuid option in disk auth xml.
Merge pull request #1769 from Hao-Liu/utils_config

utils_config: Add new class to manipulate config files
Merge pull request #1760 from waynesun09/snapshot_current

virttest.virsh: Update snapshot_current function
tools/github/github_issues.py: Fix pylint problem

A new upstream version of github caught correctly
that self._issue_cache_key is not a method, but
a property. Fix that.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest/qemu_devices_unittest.py: Remove enabling protected access

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