[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/38] ivshmem: Rewrite specification document
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 08/38] ivshmem: Rewrite specification document |
Date: |
Wed, 02 Mar 2016 10:50:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 02/29/2016 11:40 AM, Markus Armbruster wrote:
>> This started as an attempt to update ivshmem_device_spec.txt for
>> clarity, accuracy and completeness while working on its code, and
>> quickly became a full rewrite. Since the diff would be useless
>> anyway, I'm using the opportunity to rename the file to
>> ivshmem-spec.txt.
>>
>> I tried hard to ensure the new text contradicts neither the old text
>> nor the code. If the new text contradicts the old text but not the
>> code, it's probably a bug in the old text. If the new text
>> contradicts both, its probably a bug in the new text.
>>
>> Signed-off-by: Markus Armbruster <address@hidden>
>> ---
>
>> +If the server terminates without sending disconnect notifications for
>> +its connected clients, the clients can elect to continue. They can
>> +communicate with each other normally, but won't receive disconnect
>> +notification on disconnect, and no new clients can connect. There is
>> +no way for the clients to connect to a restarted the server. The
>
> s/the server/server/
Will fix, thanks!
>> +device is not capable to tell guest software whether the server is
>> +still up.
>
> Wow - lots of shortcomings in the server protocol. Food for thought for
> future improvements, but I'm happy with your approach of just
> documenting pitfalls for now.
Best we can do for 2.6 anyway :)
>> +
>> +Known bugs:
>> +
>> +* The protocol changed incompatibly in QEMU 2.5. Before, messages
>> + were native endian long, and there was no version number.
>> +
>> +* The protocol is poorly designed.