Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

From: Christoph Hellwig
Date: Wed Dec 21 2016 - 10:43:59 EST


On Wed, Dec 21, 2016 at 04:39:18PM +0100, Paolo Bonzini wrote:
> That said, there are precedents in using UAPI this way for PV
> interfaces. See for example include/uapi/linux/virtio*.h and
> arch/x86/include/uapi/asm/kvm_para.h.

We have all kinds of historical examples, but most of them turned
into a major pain sooner or later - my favourite example are the
SCSI protocol headers.

Protocols needs to stay compatible on the (virtual) wire, but not
on the language level. Locking us into the strict UABI policies
for them just make someone life horrible further down the road.