Acceptance Tests: introduce CPU hotplug test
commitfd1ce58d901bbe982db8c19ca6e1a63b30643150
authorCleber Rosa <crosa@redhat.com>
Mon, 12 Apr 2021 04:46:43 +0000 (12 00:46 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 1 Jun 2021 20:21:21 +0000 (1 16:21 -0400)
tree3dc2df9166533bec78d12b31ec9427914bcbfcaf
parent1e4e7efa01f021e7abeb0c12ff7bb3758da22134
Acceptance Tests: introduce CPU hotplug test

Even though there are qtest based tests for hotplugging CPUs (from
which this test took some inspiration from), this one adds checks
from a Linux guest point of view.

It should also serve as an example for tests that follow a similar
pattern and need to interact with QEMU (via qmp) and with the Linux
guest via SSH.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210412044644.55083-11-crosa@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
tests/acceptance/hotplug_cpu.py [new file with mode: 0644]