qemu.cfg.virtio_console: Remove the only Linux

only Linux was removed couple of versions back. Each linux-only
variant of virtio_console sets this itself.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
libvirt: Fix docstring typo
libvirt: Add virsh numatune commands function wrapper

Signed-off-by: Alex Jia <ajia@redhat.com>
utils_cgroup: Add cgroup service control function

Signed-off-by: Alex Jia <ajia@redhat.com>
libvirt_xml: Get numa parameters from guest XML

Signed-off-by: Alex Jia <ajia@redhat.com>
libvirt: Add numa tuning tests

    1) Positive testing
       1.1) get the current numa parameters for a running/shutoff guest
       1.2) set the current numa parameters for a running/shutoff guest
           1.2.1) set valid 'mode' parameters
           1.2.2) set valid 'nodeset' parameters
    2) Negative testing
       2.1) get numa parameters
           2.1.1) invalid options
           2.1.2) stop cgroup service
       2.2) set numa parameters
           2.2.1) invalid 'mode' parameters
           2.2.2) invalid 'nodeset' parameters
           2.2.3) change 'mode' for a running guest and 'mode' is not strict'
           2.2.4) change 'nodeset' for running guest with mode of interleave'
                  'interleave' or 'preferred' numa mode
           2.2.5) stop cgroup service

Signed-off-by: Alex Jia <ajia@redhat.com>
virt: Add memory slots for VMXMLBase class in libvirt_xml module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: Add get_max_mem() for VM class in libvirt_vm module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: Add setmaxmem() for virsh module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt: Add test virsh setmaxmem

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.qemu_virtio_port: Log the GW output on failure

Log the output on failure after read-out too.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.virtio_console: Check for new data in loopback test

Thread might be alive, but hung on data recv/send. With this check
the test is interrupted after 1s of inactivity. It doesn't check for
new data on the sender thread as with some settings (big send buffer
and small recv buffers) the queue might be filled and this thread
has to wait for new data. This is expected behaviour.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.virtio_console: Fix incorrect variable name and style

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_virtio_port: Modify GuestWorker cleanup to suit windows

Windows doesn't have killall command and the worker is killed by the
missing connection anyway.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>