From: Roman Kagan Subject: Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi Date: Wed, 21 Dec 2016 15:59:20 +0300 Message-ID: <20161221125920.GG15917@rkaganb.sw.ru> References: <20161220155602.6298-1-rkagan@virtuozzo.com> <20161220155602.6298-13-rkagan@virtuozzo.com> <20161220092543.6183bffd@xeon-e3> <20161221062939.GB15917@rkaganb.sw.ru> <20161221121858.GA17429@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "H. Peter Anvin" , kvm@vger.kernel.org, Radim =?utf-8?B?S3LEjW3DocWZ?= , Haiyang Zhang , x86@kernel.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, Ingo Molnar , "Denis V . Lunev" , Paolo Bonzini , Thomas Gleixner To: Christoph Hellwig Return-path: Content-Disposition: inline In-Reply-To: <20161221121858.GA17429@infradead.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: kvm.vger.kernel.org On Wed, Dec 21, 2016 at 04:18:58AM -0800, Christoph Hellwig wrote: > On Wed, Dec 21, 2016 at 09:29:39AM +0300, Roman Kagan wrote: > > QEMU in particular. We're planning to implement VMBus devices in QEMU > > and would like to have the definitions shared with the Linux guest > > drivers for Hyper-V. > > And that's everything but a userspace API. The way to go for protocol > constants is to have a normal kernel header that is not exported, and > a copy of it wherever else you need it. That's fine by me. I guess the series should then start with a complete move arch/x86/include/uapi/asm/hyperv.h -> arch/x86/include/asm/hyperv_proto.h, and the remaining patches have to change the latter instead of the former? Thanks, Roman.