From: Rusty Russell <rusty@rustcorp.com.au>
To: "Michael S. Tsirkin" <mst@redhat.com>,
virtualization@lists.linux-foundation.org, pbonzini@redhat.com
Subject: Re: [PATCH] virtio-spec: balloon: MUST_TELL_HOST is optional
Date: Wed, 19 Jun 2013 12:25:47 +0930 [thread overview]
Message-ID: <87wqpqn70s.fsf@rustcorp.com.au> (raw)
In-Reply-To: <20121112170308.GB18220@redhat.com>
"Michael S. Tsirkin" <mst@redhat.com> writes:
> On Sun, Sep 09, 2012 at 02:36:50PM +0300, Michael S. Tsirkin wrote:
>> Drivers treat MUST_TELL_HOST as optional: windows drivers do not ack it
>> and expect this means they can tell host *after* deflate. This was not
>> the intent but the documentation was not very clear on this point.
>>
>> Luckily hyprevisors did not implement this feature yet so to provide
>> guidance for future devices make spec match drivers expectations, and
>> clarify that this feature only has effect if negotiated.
>> This is needed as recent developments in kvm (memory
>> region rework and the addition of vfio) finally make
>> it practical to implement this in devices.
>>
>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
>
> ping
OK, I just s/set/negotiated:
--- virtio-spec.txt.old 2013-06-17 16:03:51.875066122 +0930
+++ virtio-spec.txt 2013-06-17 16:07:42.291063924 +0930
@@ -2411,9 +2411,9 @@
it has previously given to the balloon, as described above.
This descriptor is added to the deflateq.
- (b) If the VIRTIO_BALLOON_F_MUST_TELL_HOST feature is set, the
- guest may not use these requested pages until that descriptor
- in the deflateq has been used by the device.
+ (b) If the VIRTIO_BALLOON_F_MUST_TELL_HOST feature is
+ negotiated, the guest may not use these requested pages until
+ that descriptor in the deflateq has been used by the device.
(c) Otherwise, the guest may begin to re-use pages previously
given to the balloon before the device has acknowledged their
I'm think we get rid of the output queue for balloon in future.
Cheers,
Rusty.
prev parent reply other threads:[~2013-06-19 2:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-09 11:36 [PATCH] virtio-spec: balloon: MUST_TELL_HOST is optional Michael S. Tsirkin
2012-09-10 6:15 ` Paolo Bonzini
2012-11-12 17:03 ` Michael S. Tsirkin
2013-06-19 2:55 ` Rusty Russell [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=87wqpqn70s.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=mst@redhat.com \
--cc=pbonzini@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 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.