qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 3/3] ivshmem: add check on protocol version i


From: David Marchand
Subject: Re: [Qemu-devel] [PATCH v6 3/3] ivshmem: add check on protocol version in QEMU
Date: Thu, 25 Sep 2014 10:38:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0

On 09/23/2014 05:58 PM, Stefan Hajnoczi wrote:
I'm not sure a full-fledged feature negotiation system is needed.  The
ivshmem protocol is local to the host and all participants are under
control of the administrator.

I suggested a protocol version to protect against misconfiguration.  For
example, building QEMU from source but talking to an outdated ivhsmem
server that is still running from before.

Remember that ivshmem-server and QEMU are shipped together by the
distro.  So in 99% of the cases they will have the same version anyway.
But we want to protect against rare misconfiguration that break things
(user mixing and matching incompatible software).

Ok, so how about keeping with this simple mechanism at the moment ?

If this versionning system is too limited in the future, I think we will need a global rework on the protocol, anyway.


--
David Marchand



reply via email to

[Prev in Thread] Current Thread [Next in Thread]