qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 7/9] tests/qtest/migration: Define a machine for all archi


From: Thomas Huth
Subject: Re: [PATCH v2 7/9] tests/qtest/migration: Define a machine for all architectures
Date: Wed, 11 Oct 2023 17:55:43 +0200
User-agent: Mozilla Thunderbird

On 06/10/2023 14.39, Fabiano Rosas wrote:
Stop relying on defaults and select a machine explicitly for every
architecture.

This is a prerequisite for being able to select machine types for
migration using different QEMU binaries for source and destination.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
  tests/qtest/migration-test.c | 11 ++++++++++-
  1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index 46f1c275a2..7c10ac925b 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -746,6 +746,7 @@ static int test_migrate_start(QTestState **from, QTestState 
**to,
      const char *kvm_opts = NULL;
      const char *arch = qtest_get_arch();
      const char *memory_size;
+    const char *machine;

I'd maybe call this machine_alias to avoid confusion with the variable that is added in the next patch.

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]