Hi all!

Two new test cases to show that "local" TAP migration works
with both cpr-exec and cpr-transfer.

The series is marked as RFC, because I don't like the design (touching
internal fields, etc.). Testing cpr-exec is not a simple thing.

Still, I think, I can rework it to better design if needed.

I don't want to merge this into main series, as it already large
enough.

Based-on: <[email protected]>
  "[PATCH v20 00/15] virtio-net: live-TAP local migration"

Pushed to:
    https://gitlab.com/vsementsov/qemu.git
      tag: up-tap-fd-migration-cpr-test-cases-v1

To run the test, use sudo, as test needs to configure TAP device:

    sudo PYTHONPATH=python:tests/functional \
    QEMU_TEST_QEMU_BINARY=$PWD/build/qemu-system-x86_64 \
    MESON_BUILD_ROOT=$PWD/build \
    ./build/pyvenv/bin/python3 tests/functional/x86_64/test_tap_migration.py

Vladimir Sementsov-Ogievskiy (5):
  python/qemu/machine: add possibility to postpone qmp connect
  tests/functional/qemu_test: drop *args argument from .get_vm()
  python/machine.py: store qemu console fd before closing
  tests/testcase.py: passthrough monitor_address
  test_tap_migration: add cpr test cases

 python/qemu/machine/machine.py                |  55 ++--
 tests/functional/migration.py                 |   3 +-
 tests/functional/qemu_test/testcase.py        |  12 +-
 tests/functional/x86_64/test_tap_migration.py | 251 ++++++++++++++++--
 4 files changed, 267 insertions(+), 54 deletions(-)

-- 
2.43.0


Reply via email to