tests/acceptance: Linux boot test for record/replay
commit82184f40186ad16fe3bc98591db511b67704ffb2
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Tue, 27 Jul 2021 08:45:40 +0000 (27 11:45 +0300)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 27 Sep 2021 16:55:41 +0000 (27 18:55 +0200)
treee69315ca20622c7911c69ff39f592da6c22ff137
parent7f7c382a4d7b7698fd27ae1f14ff56ffa3e3ef1c
tests/acceptance: Linux boot test for record/replay

This patch adds a test for record/replay, which boots Linux
image from the disk and interacts with the network.
The idea and code of this test is borrowed from boot_linux.py
This test includes only x86_64 platform. Other platforms and
machines will be added later after testing and improving
record/replay to completely support them.

Each test consists of the following phases:
 - downloading the disk image
 - recording the execution
 - replaying the execution

Replay does not validates the output, but waits until QEMU
finishes the execution. This is reasonable, because
QEMU usually hangs when replay goes wrong.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <162737554047.1735673.13133593401566029378.stgit@pasha-ThinkPad-X280>
MAINTAINERS
tests/acceptance/replay_linux.py [new file with mode: 0644]