]> git.proxmox.com Git - qemu-server.git/commit
test: migration: mock get_current_qemu_machine
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 10 Nov 2023 13:24:50 +0000 (14:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 12 Nov 2023 17:48:01 +0000 (18:48 +0100)
commite13a66c8f7d710a412823be43415fd98e0fe71ec
tree357210dd5efae2c63564bf6128ca6bd502987400
parentda8415540590a957fc6c0ea2269ad39ed4e89987
test: migration: mock get_current_qemu_machine

by remembering the 'forcemachine' parameter that's passed along when
starting the target instance.

In preparation to introduce a call to get_current_qemu_machine after
starting a VM to check for machine version deprecation.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
test/MigrationTest/QmMock.pm