From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] virtio-balloon spec: rework VIRTIO_BALLOON_F_MUST_TELL_HOST feature, support silent deflation
Date: Tue, 28 May 2013 18:57:01 +0200 [thread overview]
Message-ID: <51A4E1DD.9040907@redhat.com> (raw)
In-Reply-To: <20130528165004.GA30296@redhat.com>
Il 28/05/2013 18:50, Michael S. Tsirkin ha scritto:
>>> Both your code and what you say here about the new bit seem to break
>>> compatibility with old hosts and guests.
>>
>> What is the exact scenario that you have in mind?
>
> Existing host follows spec, advertises MUST_TELL_HOST (only)
> guest acks that and still does not tell host.
Guest bug. Guest should only do so if it sees SILENT_DEFLATE too.
>> Here are all the possibilities:
>
> Basically it looks like besides TELL_HOST you want another bit
> "DONT_TELL_HOST". This just seems weird, and interactions
> between the two become very complex. Look at the amount of
> text in this thread.
Well, there are three cases, you need two bits.
The amount of text is because I'm writing the same thing 20 times in
different ways. I'm still more satisfied with the text in the patch
than with anything I've written here. It's possible I contradicted
myself, in fact.
>>> If it's in spec, I think it would be clearer what are we trying to
>>> achieve, and how.
>>
>> Having one or three patches doesn't change the final text...
>
> It changes the fact that we can stop arguing about
> the thing we agree on (making TELL_HOST optional
> for guests).
>
> We can separately argue about the one we don't seem
> to agree on (need for a new SILENT_DEFLATE).
Okay. If you agree that your patch does entail a change for old hosts,
that would be a step forward indeed.
Paolo
prev parent reply other threads:[~2013-05-28 16:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 10:10 [PATCH] virtio-balloon spec: rework VIRTIO_BALLOON_F_MUST_TELL_HOST feature, support silent deflation Paolo Bonzini
2013-05-27 15:55 ` Paolo Bonzini
2013-05-27 16:04 ` Michael S. Tsirkin
2013-05-27 16:09 ` Paolo Bonzini
2013-05-27 17:02 ` Michael S. Tsirkin
2013-05-28 8:38 ` Paolo Bonzini
2013-05-28 10:45 ` Michael S. Tsirkin
2013-05-28 11:13 ` Paolo Bonzini
2013-05-28 11:44 ` Michael S. Tsirkin
2013-05-28 12:04 ` Paolo Bonzini
2013-05-28 13:32 ` Michael S. Tsirkin
2013-05-28 14:06 ` Paolo Bonzini
2013-05-28 14:29 ` Michael S. Tsirkin
2013-05-28 14:32 ` Paolo Bonzini
2013-05-28 15:09 ` Michael S. Tsirkin
2013-05-28 16:23 ` Paolo Bonzini
2013-05-28 16:50 ` Michael S. Tsirkin
2013-05-28 16:57 ` Paolo Bonzini [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=51A4E1DD.9040907@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.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