| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
linux-2.6 doesn't make much sense anymore; upstream repo has changed to
'linux', so let's update the location.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Use virtio-blk with the -drive and -device virtio-blk-pci arguments
instead of the default ide device.
Also use cache=unsafe for the drive as we don't care about consistency.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
This doesn't work; bash isn't passing on parameters properly. Need to
find out how to do it properly.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
qemu upstream has gained the ability to handle smp with kvm, so
let's default to 2 vcpus.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
qemu/auto-virtserial
We removed the sleep a couple of commits earlier but it's needed to
ensure we really kill off any stuck qemu/auto-virtserial processes
before we start another test.
Without the sleep, a new qemu process could be spawned before the kill
signal was sent to the older process.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
| |
We used to kill all processes that had 'qemu' in their name. This was
obviously not a good thing for other running qemu processes. Record the
pid of the spawned process to only kill that one later.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
We currently spent 5 mins sleeping after a previous test. This delay is
not needed; we can directly jump onto the next one.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
All the tests for combinations of new and old qemu and kernels used
similar code; split it off into a function.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
executing tests
Lacking proper support for creating and destroying qemu and
auto-virtseiral processes, this crude way of ensuring no previous qemu
or auto-virtserial instances are running is employed. This should be
removed if/when all this is properly supported.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
Some qemu processes get stuck due to test failures / etc., they don't
just go away with a simple pkill. pkill -9 them.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
Not everyone will have the same guest as me to run, or in the same path.
Let it be configurable.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
Allow passing the number of vcpus we want be passed
on to this script from another script.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
To test new kernel compatibility with older qemu, allow
older qemu binaries to be specified at invocation time.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We so far had the binaries to be used for kernel images
and qemu hardcoded in this script. Make it now configurable
at invocation-time, so things like
QEMU=/build/qemu-kvm/x86_64-softmmu/qemu-system-x86_64 \
KERNEL=/build/linux-2.6/arch/x86/boot/bzImage ./run-test.sh
work.
If these env vars are not provided, the older defaults are
used.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
The byte_limit, or the host throttling feature, has been removed
from the upstream virtio-serial code.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
|
| |
- enable the monitor on a unix socket
- get the guest's serial log in a file
- enable all tests
- other minor fixups
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
With the design change in the kernel module to have IO vqs
for each port, guest throttling is no longer needed.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
There are a lot of values hardcoded; they should become configurable
someplace.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
| |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
|
| |
This commit adds test for virtio-console functionality on new qemu and
guest kernel. Functionality for older qemu and older kernel will come
in the following commits.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
|
|
|
|
|
| |
This ties us to the script that we have to invoke qemu but
it should be fine; all this has to be reworked later anyway.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
This commit adds programs that run automated tests in the guest.
One program (auto-virtserial.c) is to be run on the host and
another (auto-virtserial-guest.c) is to be run in the guest.
A README file is added that explains how to run them using the
supplied script (run-test.sh).
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|