Re: [PATCH] virtio-balloon spec: rework VIRTIO_BALLOON_F_MUST_TELL_HOST feature, support silent deflation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux