From: Het Gala <het.gala@nutanix.com>
To: "Peter Xu" <peterx@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org, farosas@suse.de, armbru@redhat.com
Subject: Re: [PATCH] Make 'uri' optional for migrate QAPI
Date: Wed, 24 Jan 2024 10:03:38 +0530 [thread overview]
Message-ID: <5fa6f674-a08f-45e7-a89f-028d91c6b8f9@nutanix.com> (raw)
In-Reply-To: <ZbBrN-V8goSJxEst@x1n>
[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]
On 24/01/24 7:13 am, Peter Xu wrote:
> On Tue, Jan 23, 2024 at 08:21:55AM +0000, Daniel P. Berrangé wrote:
>> On Tue, Jan 23, 2024 at 06:42:19AM +0000, Het Gala wrote:
>>> 'uri' argument should be optional, as 'uri' and 'channels'
>>> arguments are mutally exclusive in nature.
>>>
>>> Fixes: 074dbce5fcce (migration: New migrate and
>>> migrate-incoming argument 'channels')
>>> Signed-off-by: Het Gala<het.gala@nutanix.com>
>>> ---
>>> qapi/migration.json | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/qapi/migration.json b/qapi/migration.json
>>> index eb2f883513..197d3faa43 100644
>>> --- a/qapi/migration.json
>>> +++ b/qapi/migration.json
>>> @@ -1757,7 +1757,7 @@
>>> #
>>> ##
>>> { 'command': 'migrate',
>>> - 'data': {'uri': 'str',
>>> + 'data': {'*uri': 'str',
>>> '*channels': [ 'MigrationChannel' ],
>>> '*blk': { 'type': 'bool', 'features': [ 'deprecated' ] },
>>> '*inc': { 'type': 'bool', 'features': [ 'deprecated' ] },
>> Hmm, this mistake shows a lack of coverage in migration-test.c for
>> the 'channels' argument. I thought the original series adding 'channels'
>> included the tests for this. Either way, this needs to come with test
>> coverage for use of 'channels', with 'uri' omitted.
> Agreed. Het, do you plan to provide a test case?
Yes, will provide a test case patch for 'channels' soon.
Regards,
Het Gala
[-- Attachment #2: Type: text/html, Size: 2305 bytes --]
next prev parent reply other threads:[~2024-01-24 4:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-23 6:42 [PATCH] Make 'uri' optional for migrate QAPI Het Gala
2024-01-23 6:47 ` Het Gala
2024-01-23 8:21 ` Daniel P. Berrangé
2024-01-24 1:43 ` Peter Xu
2024-01-24 4:33 ` Het Gala [this message]
2024-01-26 14:10 ` Het Gala
2024-01-26 14:30 ` Daniel P. Berrangé
2024-01-29 20:30 ` Michael Tokarev
2024-01-29 20:56 ` Fabiano Rosas
2024-01-30 1:35 ` Peter Xu
2024-01-30 6:45 ` Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5fa6f674-a08f-45e7-a89f-028d91c6b8f9@nutanix.com \
--to=het.gala@nutanix.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=farosas@suse.de \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).