/migration-test

Test KVM arm64 migration

Primary LanguageShell

Test KVM Migration on 64-bit ARM

Usage:

  1. ./setup-migration-test.sh
  2. ./run-migrate-test.sh

Notes:

The setup-migration-test.sh script will debootstrap a new guest Debian distro for you, create a QCOW2 file image and load the newly debootstrapped partition in there.

It will also clone Linux and build the latest release with defconfig for your.

Finally it will clone qemu and build the aarch64-softmmu target for you, also using the latest released version.

You can avoid all the downloading and building by placing the following files in the working directory:

  • debian-sid.qcow2 (must have a root partition as the first partition)
  • Image (any reasonable guest kernel)
  • qemu-system-aarch64 (Some QEMU version with migration support)

The guest FS must use the following credentials (automatically set if the image is created using the setup scripts):

User: root Pass: kvm