From: Markus Armbruster <armbru@redhat.com>
To: Peter Xu <peterx@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
qemu-devel@nongnu.org,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/9] monitor: enable OOB by default
Date: Wed, 18 Jul 2018 15:09:38 +0200 [thread overview]
Message-ID: <87d0vkitbh.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20180718084746.GC6197@xz-mi> (Peter Xu's message of "Wed, 18 Jul 2018 16:47:46 +0800")
Peter Xu <peterx@redhat.com> writes:
> On Tue, Jul 17, 2018 at 08:08:55PM +0800, Peter Xu wrote:
>
> [...]
>
>> >
>> > Whatever we don't address right away we should at least mark FIXME in
>> > the source code.
>> >
>> > Assuming my list is complete, and my assessments correct, then we're
>> > quite close to the point where we can enable OOB. But since rc1 is
>> > tomorrow already, I feel enabling it in 3.0 has become unrealistic. I
>> > understand we need it sooner rather than later for postcopy recovery.
>> > However, the current state should be servicable for teaching OOB to
>> > libvirt: just follow the recommendation to supply "id" (libvirt always
>> > does anyway), pretend COMMAND_DROPPED doesn't exist, and pretend flow
>> > control isn't an issue.
>>
>> I guess the thing is not about COMMAND_DROPPED; it's about we're going
>> to drop the x-oob parameter. Now we can only use that parameter to
>> enable out-of-band, and after we enable it by default we possibly want
>> to remove that x-oob parameter. So we'd better provide a constant way
>> for libvirt to enable out-of-band first (and now I'll assume the
>> "exec-oob" interface won't change again). But yes I think we can do
>> that after 3.0.
Yes, x-oob will go away right when OOB transitions from experimental to
supported.
I don't expect the request interface (exec-oob) to change, except we
might still make "id" mandatory. Libvirt won't care, as it always
supplies "id".
If having to enable OOB with x-oob hampers libvirt work, I'd be willing
to enable OOB by default early in the 3.1 development cycle. We can
always go back to disabled by default for the 3.1 release in case we
fail at getting it ready for 3.1,
> Btw, note that patches 4-7 might still be candidates of bug fixes for
> existing out-of-band feature. It'll drop COMMAND_DROPPED event, but
> IMHO it's still better than having a broken flow control for it (and
> dropping event declaration is pretty safe even clients implemented
> them). Though the changes are not trivial, so I'll leave the decision
> to you on whether we'll still consider them as 3.0 material. Anyway,
> please feel free to let me know if you want me to post them
> separately.
Yes, COMMAND_DROPPED is flawed, and I dislike shipping flawed stuff as
much as you do. However, it's clearly documented as flawed, and to get
it, you have to enable OOB with x-oob, where the x- clearly marks this
as experimental.
I think I'd rather not rock the boat now.
prev parent reply other threads:[~2018-07-18 13:09 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 8:44 [Qemu-devel] [PATCH 0/9] monitor: enable OOB by default Peter Xu
2018-07-04 8:44 ` [Qemu-devel] [PATCH 1/9] monitor: simplify monitor_qmp_setup_handlers_bh Peter Xu
2018-07-05 5:44 ` Markus Armbruster
2018-07-04 8:45 ` [Qemu-devel] [PATCH 2/9] qapi: allow build_params to return "void" Peter Xu
2018-07-05 6:02 ` Markus Armbruster
2018-07-05 6:18 ` Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 3/9] qapi: remove error checks for event emission Peter Xu
2018-07-05 8:43 ` Markus Armbruster
2018-07-05 9:17 ` Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 4/9] monitor: move need_resume flag into monitor struct Peter Xu
2018-07-05 8:51 ` Markus Armbruster
2018-07-05 9:49 ` Peter Xu
2018-07-05 11:09 ` Markus Armbruster
2018-07-05 11:32 ` Marc-André Lureau
2018-07-05 12:01 ` Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 5/9] monitor: suspend monitor instead of send CMD_DROP Peter Xu
2018-07-05 16:47 ` Eric Blake
2018-07-06 3:49 ` Peter Xu
2018-07-06 8:00 ` Markus Armbruster
2018-07-06 8:09 ` Markus Armbruster
2018-07-06 9:39 ` Peter Xu
2018-07-06 13:19 ` Markus Armbruster
2018-07-10 4:27 ` Peter Xu
2018-07-12 6:10 ` Markus Armbruster
2018-07-12 13:23 ` Markus Armbruster
2018-07-04 8:45 ` [Qemu-devel] [PATCH 6/9] qapi: remove COMMAND_DROPPED event Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 7/9] monitor: restrict response queue length too Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 8/9] monitor: remove "x-oob", turn oob on by default Peter Xu
2018-07-04 8:45 ` [Qemu-devel] [PATCH 9/9] Revert "tests: Add parameter to qtest_init_without_qmp_handshake" Peter Xu
2018-07-16 17:18 ` [Qemu-devel] [PATCH 0/9] monitor: enable OOB by default Markus Armbruster
2018-07-17 12:08 ` Peter Xu
2018-07-18 8:47 ` Peter Xu
2018-07-18 13:09 ` Markus Armbruster [this message]
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=87d0vkitbh.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=marcandre.lureau@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.