Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751885AbcL1RZA (ORCPT ); Wed, 28 Dec 2016 12:25:00 -0500 Received: from mail-ve1eur02hn0242.outbound.protection.outlook.com ([104.47.6.242]:53352 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750976AbcL1RY5 (ORCPT ); Wed, 28 Dec 2016 12:24:57 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Date: Wed, 28 Dec 2016 20:09:44 +0300 From: Roman Kagan To: KY Srinivasan CC: Stephen Hemminger , Christoph Hellwig , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Vitaly Kuznetsov , "kvm@vger.kernel.org" , "Denis V . Lunev" , Haiyang Zhang , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , "H. Peter Anvin" , "devel@linuxdriverproject.org" , Thomas Gleixner Subject: Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi Message-ID: <20161228170943.GB14702@rkaganb.sw.ru> Mail-Followup-To: Roman Kagan , KY Srinivasan , Stephen Hemminger , Christoph Hellwig , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Vitaly Kuznetsov , "kvm@vger.kernel.org" , "Denis V . Lunev" , Haiyang Zhang , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , "H. Peter Anvin" , "devel@linuxdriverproject.org" , Thomas Gleixner References: <20161221062939.GB15917@rkaganb.sw.ru> <20161221121858.GA17429@infradead.org> <20161221125920.GG15917@rkaganb.sw.ru> <20161221142654.GB8594@infradead.org> <20161221154348.GA31401@infradead.org> <20161221095049.6fdc3145@xeon-e3> <20161221175836.GA8846@infradead.org> <20161221100247.69a4049b@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: VI1PR09CA0077.eurprd09.prod.outlook.com (10.174.49.149) To VI1PR0802MB2478.eurprd08.prod.outlook.com (10.175.26.21) X-MS-Office365-Filtering-Correlation-Id: 3d382848-d9af-4998-a666-08d42f4455a0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:VI1PR0802MB2478; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0802MB2478;3:LS0pr+l/DnMSy8Y/iR+3ljePbRRxn9oAkm09muHZmLdo4fbjGxVfqKPj9L1x9fWG7zdJCegM91IA5ISBmNaMBMXaWQXyEPgROTiOl6hfr5dz0xSYOQfYtrq2jW3QVld3fWccC3/mQaI7fBOn6euxOf2w+/Qh23AwjcmbwhyOOW+QXlR9WHJmPX258ovq24xR31CTCAuM1N2Cp0eB1zXXlhphZdGBGQEXhCIIFAiUYy3VyYrQv/bwzWrF4EX8lXj8P1Gh/q3aZU4gQSXEwSuuQQ== X-Microsoft-Exchange-Diagnostics: 1;VI1PR0802MB2478;25:wL5rLss7LrMYj5X9a/lQeZrlseq4iqrhIjAfQtYVqdAaM6yMOS46ZvZd9Pijuq/RA44wduwwJ4rFDRsTkQsZyz2yUL1+WH9rElMWVTBNdRtAKcVmghyc9xGSOGTZIoXazIhuyql579lkud+FqgIJ1Awj0PJd4Ax2a4Fr/sgIolJg6qyPAprSwKFz91J2iD2QCEeoplBGhoknHx/kZmas3x85G+RzmjmQaoy6GZXLDi62zJ6kWCFe1Y524hCI4lfIAe30WeacQgH5SDgWDLQKLJIjffXXuyF1AWmDlQgIlrxkyRpi5AzABPRg35gkHzpVMSwRubK3455NanimUJZ+aZ3ef77DQqVRiZF9rvx5UqX/Bwe49ZiIPa8cX6MhDxRUSnmQX2LGqyogE+db2ahntpP0I2Pu3mA/J/h7AFM8lBgCCAjLbZGuAEgXTGLJ2DmlxmDklhSHS7y5qVIo0YATCKI/XfkLzrBOY1Pnsbvcve/NRXnSLj3vKSD/atyVq0A6gSfc3PGIOykdUyyyo/RDw2PApvNKERh8nkp85kw7dvrvqYiQkTwMr+JYkkBEmBV0ECWqKtxD/Am39pDjeuBePcJRTUrP5ynqrB2GYeKv029Wnc8rS6hbwi+O8ETrIKeiFlzofasIFLz6s7jb6ZCWdydrO0buMJr2cO7UvBYr18nfPHlyzodzJkf/k4FtVwVbtKZ/Tu2bmZuUQDYD2qj7jFROZVBNNCxCZxqGLz7sH47nCTQuwOw+/kTa7x/w7do+B4JfI2HVN6ITM76xAf2uUQ== X-Microsoft-Exchange-Diagnostics: 1;VI1PR0802MB2478;31:vfsTk/x0L0tOrHuswE/stPkErIdUC2jXy0Djxq7a3po5OVhHhQrxW/QmPXKHADvziAeMni266Ez1ZRUYYnWcUk3mwLgVWb63c2BSiw3spfvMAE3rSUCTl1pP0RRz3EnwquoI16CLXc8hkh7VOtpowYU7WvKhmpKOV9C7S+aeTjEhjqCG4FElnOcEtij5NTx643qnd3v+mMlBbNtwRbB0y02obXh7f0FqVG9s7IDyttGCULIeaYytvDpjMoA3lFP3;20:NQM7NWl5aUaq/wyh/iIQ9VrOQycJtns0NfNCkz9SSJCHQydlv4m0SwQz4FDE/aaevGu+kqcqEEQMck1L6S7Z26/KUI0X7YYr8FmU4mOMmqv7qIVY+NvcSVHwb59MQdRhwSlyzdVlPgdkAna6QaaCBkdA7tt6RtXLNU/vpwcNt+8TZ43W9nYnE64pxce6lr9GHjc0llMLBqY+iiDcTGIHFgZJ+WXTEpSW7AypPnmQ+3H36k4VRs2pQuGhw+OHQEEU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(5213294742642); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123558021)(20161123564025)(20161123562025)(6072148);SRVR:VI1PR0802MB2478;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0802MB2478; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0802MB2478;4:Q1Ml1LiYW6VNi3FuUEqqrSUp9F94N5AC7g6Qm+JKHveLd/3vFmipbguYjy/ZPMEfZJ2GfpwzlRKU2mhkZaH5EEj93nD1eLrVOSeKJgfM7LadgeTPF3zCRslqZlpP9HG2eQzAXCbxAS+/leocetKrQYx7IK7POZyfdLCI15Zus68sJUeHxOgSMNfZqzHLTeVhS8ksLPMO/ccKIhvfzWAvFJuqfksszpy3vWMJ9/4fFmlUF69/1o8S9ONDIGVq3PkCShnNGxHj4Wv05ijnF0SRS9E+7Bslw2pdwAYnLCXHgb7cBFvaD9/krE9DHgyKXvI8bP4y7TOfXhMwAWut2tyo1gfKrSpcHQBuMaT2/RfHB0yAgrX4ZbJU4WPG72AD4XIbJRhPhOeM+ETuqMktnU/7HOzzC0Yr3XvGulM5RzW2BYk1/w2uYXOk7Nblkc1R0BXoYjJEOnvO2Imoe+29w1lT9RnkYwvTUayGsZ1iNrtd3UHH8f5ceOPgU6CnaIJk2LAfT/cBmZ0kykbMzbLp1f9jHG3WZhinM72dURwQG3VHu5v7By3xVpdTtlzMNLqGlQKJm1ZRlC3SybABd3cdygj/yvgE2+IufNjteLaKXOOObgcX6QVGktTDoCj6IxqSNPVLKwnsdh8CIloe524yEy8a1yfOJ1/51qF/KpPC+PPozltF64JrI862X8QwsGHlwDEY X-Forefront-PRVS: 0170DAF08C X-Forefront-Antispam-Report: SFV:SPM;SFS:(10019020)(4630300001)(6009001)(7916002)(39410400002)(39830400002)(39450400003)(189002)(13464003)(24454002)(377454003)(199003)(83506001)(1076002)(189998001)(4326007)(76176999)(97736004)(50986999)(54356999)(23676002)(4001350100001)(42186005)(68736007)(6506006)(106356001)(9686002)(53416004)(50466002)(7416002)(25786008)(69596002)(8666007)(92566002)(101416001)(38730400001)(7736002)(6116002)(3846002)(305945005)(229853002)(33656002)(81156014)(66066001)(8676002)(2421001)(5660300001)(47776003)(1511001)(81166006)(86362001)(2906002)(110136003)(2870700001)(105586002)(36756003)(6916009)(2561002)(6666003)(2950100002)(93886004)(30126002)(18370500001);DIR:OUT;SFP:1501;SCL:5;SRVR:VI1PR0802MB2478;H:rkaganb.sw.ru;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA4MDJNQjI0Nzg7MjM6MEZmUDd3cXNLMlJ5cFlGUmVoZS9GYUkv?= =?utf-8?B?Y21wYXl3YVk0cFh1RWxHNGJMT0JGUytFZmQ3R3oyYm84dmpJdXFyZmMrRGk1?= =?utf-8?B?OWpmT2pPYUJOM0UwVUp4Y0lkeXBOZG1SZk1zbFN1NnZyWFNqdGVUUzhPUk5V?= =?utf-8?B?VHBlanpVTnlnTW5GRXJXcVlWRjN2bWNsRmI3ajBXV0VkVnhRQldZMndFS3Bx?= =?utf-8?B?ZnhyZUNtKzhVRDhJbHc2RlFnUmxML3ZTYm1PWDFOL0VoZ2xxT2ZJLzIyWlZE?= =?utf-8?B?RXMyR2x6OHlrRlhYdk02Q1grcEZ4cjFWTjhtR1AxT3Z1M2l3OE1WQWZxWXRj?= =?utf-8?B?RnhlS3A3dDVxVlorZERFQXNtVlMyN3YvNmJibWxkeDl6dEJlTmpWY1RzYXJj?= =?utf-8?B?bTJOS2xvZ1pYRDRGKzYzd2hHVmNQcjJlWENYOHpGRWZsU2VqVi9JbG9iVXdJ?= =?utf-8?B?SmlnVEZ3TE9DTVNGUzZFOTNrbGhqeGhZbmx0OEk3ZXdjQTFjV0FwZlRKbWJQ?= =?utf-8?B?b1FuWFEyMDJWUnByUVFTMkpYbzZSU2FUZ0tTYldMWllnbllndkNNdFh3ZEgz?= =?utf-8?B?YnA2a3dZZGgwdWZNTS91MFhrdTJEWXR4TEJ2VG9VaWFhNFN1RmpQajlmWXZz?= =?utf-8?B?cTFiSlZhNHkxc0x2ZFhOQ1J6czhabHV3TDVzTlBBcHdidjJGUW94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/Gz2YrZ7oRj74izWIIYJzyM2vXgGFZYBQEfqBGGK0k/a4REkL/TCeHjrm/Nw/A0kgmTbTXubNxi8+Jxi6rVndr8ihM+4urccWw==;24:wiANrkGHuL7/10jTuv4BykigatMCwa1xXW5DYH+Vz9OuqL9gTAMGaGkjboJGofkJEl1mxgAxVs6iCI2wqx8eSA== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1;VI1PR0802MB2478;7:MzNOfGRrS2lImqujTN/Vit9ql/SY1aQcn+ffEQE50Se4cPrpP3ZHmLHb5UWEs8VoiXE8OBktZ3+1kkJlKSPrkPTfmPbO0UzH5KGG/uF9c40yixZ+5bXLZmEXPsp/SYKpgQvv6F97zVceJSEns0mWN03LcO0+Mze/i05m4qeslW2RL7gxpvlAl6T1ZH+4M1avCwTjzHa94QtbAm8YZ/mlbWdOI7AVvJ5sg46FHJtTlm9+CAsoIj247FZeadOkl4dYDFaAdbH2AvKsB8+W0fKi1gi/NBx4zFhrkEOIBinmDP8UhxLJN8WFbTBWxwD85RzW+ivPNmjJXWHBECgWwuefi0pVZz+Jiy7WXvSFzmpre3YirwQ46ZyiFqDadXz4lSNGZkGL7lMFXocUEBiTUmlv8R+G4f1JE9dW0L4nDY2V4Me8tdk1N68gjRT6rqNR1gdCX53UmtDStfqW6ud/gakQxQ==;20:+XWDzfiwmaqwtAq2ZOfmyDZ3977t2kwHeqiibREl+Ocq5BsnRXTBJCfjShNZvmNR9aSlUGApi8wfJsDWeir6HWYslY9a6vRSE40TeXc/b5HyOsYiEXEr9lGMG22X1k4vB2djgf2iBNZOubciy+DzxS4LcTHbxbox5eD2wDJ03f8= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2016 17:09:49.6947 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2478 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2744 Lines: 55 On Wed, Dec 21, 2016 at 07:54:11PM +0000, KY Srinivasan wrote: > > > > -----Original Message----- > > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > > Sent: Wednesday, December 21, 2016 10:03 AM > > To: Christoph Hellwig > > Cc: Paolo Bonzini ; Roman Kagan > > ; Radim Krčmář ; KY > > Srinivasan ; Vitaly Kuznetsov > > ; kvm@vger.kernel.org; Denis V . Lunev > > ; Haiyang Zhang ; > > x86@kernel.org; linux-kernel@vger.kernel.org; Ingo Molnar > > ; H. Peter Anvin ; > > devel@linuxdriverproject.org; Thomas Gleixner > > Subject: Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi > > > > On Wed, 21 Dec 2016 09:58:36 -0800 > > Christoph Hellwig wrote: > > > > > On Wed, Dec 21, 2016 at 09:50:49AM -0800, Stephen Hemminger wrote: > > > > Lastly, there is licensing issues on headers. It would be good to have any > > > > userspace ABI headers licensed with a more liberal license so that BSD > > and DPDK drivers > > > > could use them directly. Right now each one reinvents. > > > > > > Microsoft could easily solves this problem by offering a suitably > > > liberally licensed header documenting the full HyperV guest protocol > > > that Linux and other projects could use. > > > > The issue is if same header file mixes kernel and userspace API stuff. > > > > Once the files are arranged right, I will submit trivial change to comments > > to indicate the liberal licensing of userspace API headers. > > Let us take this one step at a time. I know for a fact that not all the guest host > protocols on Hyper-V are guaranteed to be stable. Some of the protocols are part of > the published MSFT standards such RNDIS and these obviously are guaranteed to be > stable. For the rest it is less clear. The fact that we need to ensure compatibility of existing > Windows guests tells me that any host side changes will be versioned and the hosts will always > support older guests. > > I would like to minimize what we include in the uapi header; especially when MSFT has made no guarantees > with regards how they may be evolved. I will also work on getting some clarity on both stability and > under what license we would expose the uapi header. Am I correct assuming that QEMU is currently the only user of arch/x86/include/uapi/asm/hyperv.h? Then I think we're fine withdrawing it from uapi as a whole and letting QEMU pull it in through its header-harvesting scripts (as does now anyway). This would lift all licensing and longterm API stability expectations. Roman.