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>
tools/check_patch.py: Accept multiple patchwork patch IDs

Different from github, patches on patchwork are individual
and there's no concept of a patchset. Therefore, verifying
a large patchset is a painful process.

Make it easier by allowing to specify several IDs, separated
by comma.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Add get_primary_serial functions for VMXML class.

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

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

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

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: add virsh function for virsh domjobabort

Signed-off-by: liyang <liyang.fnst@cn.fujitsu.com>
libvirt: Add new test virsh_domjobabort

Signed-off-by: liyang <liyang.fnst@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>