shared.unattended: Disable the color display from console

The default bashrc for root in Ubuntu will enable color display
in the console. This caused unreadable characters for some
cmd output, like 'ls'. It will fail our cases as script can not
get the output we want. So disable it in preseed files for install.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
cpuid_test_kernel: Dump additional 0xD subleaves

Those subleaves need to stay stable on QEMU upgrades, too, so it is
useful to dump them.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: Whitelist known broken alias bits on RHEL-6 qemu-kvm

Newer QEMU will make sure the alias bits are consistent, but there are
known bugs on RHEL-6 on some of the alias bits on some of the CPU
models, so whitelist those known issues.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
cpuid: Use new API to detect cases where QEMU aborts

virt-test won't raise VMCreateError anymore, but VMStartError, when QEMU
aborts. Change the code to catch the new exception.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Cc: Ruda Moura <rmoura@redhat.com>
qemu_cpu.cfg: Trivial comments about some config options

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: We don't need any image processing

The qemu_cpu test case doesn't use any disk image, so we don't need any
image processing when running the tests cases.

This should make the tests run much faster.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: Force nettype=none

We don't need networking when running the CPUID dump kernel, so we can
simply skip networking setup.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu.test.watchdog: Remove RHEL.5 from the ib700 cfg

Remove RHEL.5 from the cfg, sinece RHEL.5 not support ib700wdt.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest.qemu_vm: Catch all exceptions when sending quit to monitor in destroy

When host or guest under heavy load or in a shutdown status from pre case.
VM process may quit during destory() in any steps and will raise very strange
error message like if it is try to kill vm by monitor:
 error: (9, 'Bad file descriptor')

So catch all kinds of exceptions and judge if the process is alive or not.
Log warning message in the log file instead of through errors.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu_cpu.cfg: Add rhel650 variant for rhel6.5.0 machine-type

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
test.cfg.fillup_disk: adjust the fillup timeout to 320s

Write file with oflag=direct would take more time to finish.
Merge pull request #1358 from ehabkost/pull-requests/cpuid-dump-update-2014-01-15

CPUID test case update
Merge pull request #1356 from ypu/ubuntu

shared.unattended: Disable the color display from console
Merge pull request #1370 from Xiangmin/fix_fillup_disk_cfg

test.cfg.fillup_disk: adjust the fillup timeout to 320s
Merge pull request #1367 from FengYang/migration_with_dst_problem

migration_with_dst_problem issue fix.
Merge pull request #1365 from humanux/watchdog

qemu.test.watchdog: Remove RHEL.5 from the ib700 cfg
Merge pull request #1366 from ypu/destroy

virttest.qemu_vm: Catch all exceptions when sending quit to monitor in d...
cpuid: Detect missing CPU model

The behavior of qemu_vm when a CPU model is missing has changed. This
requires our test code to detect QEMU errors when a CPU model is
missing.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Merge pull request #1371 from ehabkost/pull-requests/detect-missing-cpu-model-2014-01-20

cpuid: Detect missing CPU model
tests: Fix and update for netstress_kill_guest.py script

Update netperf link and find netperf in shared/deps by default.
Also support download netperf from networks.

Add docstring and error.context for this test case.
Put netperf to /var/tmp by default in host and guest.
Also make it configurable.

Signed-off-by: Feng Yang <fyang@redhat.com>