virttest: Add parameter to control log level.

Initial effort to add the parameter "--log-level" when running tests,
to control the log level. For example:

./run -t qemu --log-level=error

Will only log ERROR messages.

Note that The default value remains DEBUG level.
Currently it only applies to log/debug.log.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
virttest: Test option '--log-level' through a list of fixed values.

Test possible values for option '--log-level' based on a list of fixed
log level names (stored in SUPPORTED_LOG_LEVELS).

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Merge pull request #1067 from ruda/set-log-level

Add option '--log-level' to control log level for the top level log file
virttest: Update several cpu related functions in utils_misc

Find in utils_misc the cpu vendor and flag check code are duplicate.
Remove the duplicate one and update related scripts need to update.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virt-libvirt: Extend test-runner default tests

By default, the runner was running all variants of a single test.
This makes it harder to spot certain types of test-specific problems.
Instead, the runner should run a wider variety of tests, spreading
the variant choices across a range of underlying functionality.

Unfortunately, there's not a cleaner way to specify a wide range of
tests w/o simply listing them all.  However, the list can be read
in from a file, which will help keep the maintenance effort low. I
hard-coded list file path as relative to wherever the test runner
module is located, since there's no reason to over complicate it.

I expect this list will change over time, so this is only a reasonable
starting place. Included are about 80 libvirt tests from across the
board, with at least one positive and one negative test for each topic.
I attempted to pick different operational varients from each set so,
for example, it doesn't just exercize the same set of parameters
repeatidly.

Including the install and remove, they all complete on my intel i7 based
laptop in under 30min, which was found to be reasonable.

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