[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/6] tests: Move postcopy migration test to migr
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH 6/6] tests: Move postcopy migration test to migrate-set-parameters |
Date: |
Mon, 16 Oct 2017 17:31:36 +0100 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
* Juan Quintela (address@hidden) wrote:
> migrate_set_speed and migrate_set_dowtime are deprecated since long ago.
>
> Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
> ---
> tests/postcopy-test.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c
> index 8142f2ab90..991b954a83 100644
> --- a/tests/postcopy-test.c
> +++ b/tests/postcopy-test.c
> @@ -430,14 +430,14 @@ static void test_migrate(void)
> * machine, so also set the downtime.
> */
> global_qtest = from;
> - rsp = qmp("{ 'execute': 'migrate_set_speed',"
> - "'arguments': { 'value': 100000000 } }");
> + rsp = qmp("{ 'execute': 'migrate-set-parameters',"
> + "'arguments': { 'max-bandwidth': 100000000 } }");
> g_assert(qdict_haskey(rsp, "return"));
> QDECREF(rsp);
>
> /* 1ms downtime - it should never finish precopy */
> - rsp = qmp("{ 'execute': 'migrate_set_downtime',"
> - "'arguments': { 'value': 0.001 } }");
> + rsp = qmp("{ 'execute': 'migrate-set-parameters',"
> + "'arguments': { 'downtime-limit': 1 } }");
> g_assert(qdict_haskey(rsp, "return"));
> QDECREF(rsp);
>
> --
> 2.13.5
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- Re: [Qemu-devel] [PATCH 1/6] tests: Add basic migration precopy test, (continued)