Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760037AbcLUOo4 (ORCPT ); Wed, 21 Dec 2016 09:44:56 -0500 Received: from mail-he1eur02hn0232.outbound.protection.outlook.com ([104.47.5.232]:12959 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759726AbcLUOou (ORCPT ); Wed, 21 Dec 2016 09:44:50 -0500 X-Greylist: delayed 98575 seconds by postgrey-1.27 at vger.kernel.org; Wed, 21 Dec 2016 09:44:50 EST Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Date: Wed, 21 Dec 2016 15:59:20 +0300 From: Roman Kagan To: Christoph Hellwig CC: Stephen Hemminger , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. Srinivasan" , Vitaly Kuznetsov , , "Denis V . Lunev" , Haiyang Zhang , , , Ingo Molnar , "H. Peter Anvin" , , Thomas Gleixner Subject: Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi Message-ID: <20161221125920.GG15917@rkaganb.sw.ru> Mail-Followup-To: Roman Kagan , Christoph Hellwig , Stephen Hemminger , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. 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 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-Disposition: inline In-Reply-To: <20161221121858.GA17429@infradead.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [195.214.232.10] X-ClientProxiedBy: AM5PR0901CA0014.eurprd09.prod.outlook.com (10.164.186.152) To HE1PR0802MB2474.eurprd08.prod.outlook.com (10.175.34.147) X-MS-Office365-Filtering-Correlation-Id: 74d60391-be9f-472c-66c3-08d429a132f5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:HE1PR0802MB2474; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2474;3:H6CPaZ9gf1gNRI0Io+aq3arkZAQnopSHIH4o28MlyiNdh5VQiGgHugvldvVsWsWYlyL+qTyMJz6Bfnncw/DznDPXqJYwx8VmkCAYb9Nxa809U0HdG3NEwLirB/DXd9wQrMS8CLBR0ngfMOPCQTmtMN6kLJdsNee8PEVMmLGTcpve9CLpNLc+JFmzMttI6YCVFOAURUsNeFwlmo1n7T0Gheaaw/NCJF0R6ErXRLlHKtwWx8A8N/wzO4966IMcbL9Z9Kn8PnR33C0uJ/3mJGf3NA== X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2474;25:A+M8S6AvEdnQVeLZfDHXclDbYqaqVpXq/pqvazTDWGH5GCK5OAimy/Qfq2roO+r/oe2tXuhYANJfJr+rzvZGMagAx0lgpO4Mi2wA2LlZs6FwTAVmtDgDKUcGBV8fTIG6yXV90Ca+aAiv5F1PpyObCpYxgqr9HCADNys3yg/f5gphi1w5sztz376YtlbpbK0MbROUqULQ+23DfclUX7xdOuEIZq/RGtRG6DnhYbYkQiUgVfmGvIf2/eOrvfKOHnQWW0wXtRghq+C5HRWupIgXHaZ728dlTF1ZjMuGZ5HLILIZJJYAybssTNFUMqa7jVOsi5q1brxYn7D7mj7CtqRFqposKTVJ3fNusihNhzq1EUoFwTmDBUqlxiLI+NPxx5jt5pdETgofOY1U+nGuPt9mCLIBwlF7BjEHsGnYbYl+3EUUMM53XI1n8y9AD1kMIuC0a1fsqUPPYfVJh83dgGZVnOThXFWdxa4fSOGApixuCUmLYxIBrAtglg0pvrxlhzoh/uCbdk2nyyjmEhyq6AgQU7awV1aTuxzWh5XPGdhMuzjecmwoJEjnVduxXJrCIaAkDFuyIAdwogt0Y+qD9vyLPeD8xRJ2Q4q3ZJLPOUzyVu3+5qTcwkfnMLGBeBkZocxjqBOjgr/YcCCHwb0RIa0xWmAhuP6CUZatyNZK+/HGy7Na3Cry9t6kB5+sQN2taecU01GBuMS5A0bUIp4AXWfdS1xs7HILcIXorEm3O2a7pSo00qSHzT6mKd7+sfQvR2n15Uq0/rs3+k6EqYgmCUKdhQ== X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2474;31:NdBs4adsZXq5Ys6dl8jlnavim8FtL7LjDMCTPsSe8GR8Q7Q1NUd7+wWJIacsdin+FLpERIrc9WGWZ2FVqrSYNUPm5mg95XsL1283MYZf/IpEhNIW2H6JFbeSHf1yo3eIKBHrK4/W2DujO9ipV8h6Mc+k6m+58w2ZaRmXAWfbUr+g2Aq2UNnv1XlzwkRUE2ZNRn2gOg7G0DzpOaZhoBz0LWkIRJQATIXJdkcZJBojLy/A/oJb4dadWFdR0euHMIYgoyGpgsPRUlreYEPImnm+aQ==;20:8r5rIN7jE9xXOY5agGiWLqPUVvlS/Kz9Mn64P1ZuLTd4Y9lXjhnOzADbk2Fnd96G+8UZEfJbUG2ZpMu8/G5rLYnlhTRtv9wUSPKTWHMrzncWxOmLFb5QUvLon1xO8duCqO40VUfJKpC9FgPnG1ekTgK/ZpgiFR8fnZbFuTQ1ERTFlTMsile8gDyXPZuTedgfZIo2BpDK36AsDZci0wMd41wHbugbQtiUIvATBH0yVmRg1qQ9QfzCt7KECeVA21xF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6072148);SRVR:HE1PR0802MB2474;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0802MB2474; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2474;4:RXYcjsiZmCz5mBs1plR7XU6+VbRRlI2Fy3Dkn8rXnNiFu2ksWpJXnbR8Woj9c+4mebu6TmuRtzNQuK0f6Z0XWqw5gWjD+5zkZ1jJe5h/QSJ48FDoTNIF2XENYidG3Fib73Q6qNPG8kkVe38uuJGNAfjuJe3eAstnG23wKfnkvpWlWFDmOBnI2Lvu82GoSPOloY7vn99Qg5w2M6uDYTgTKraUaqoOae0Jy4/28kiuA0ZxeTN+iN8Gdl0bJ7ejorGHDSeSy8LuPs5K7nGpdk0ivbBAYdgswrAxv1aAREVBQE1IklSJlwxdHIlL09IhiPs8b7iT7FW5FbBuJFy6DJg6KlIHxwLNec/XAqQ3rnmXQNcpnpBGwcfdN2W0XC+KvAENLFs3Q9o6Xbnd6R4HSHvC/9WTM/mHLl2+hT4n9FoVDJqlFIeRfSYgIxe0NTGSvBDEUBGikI4fdUPOaIoc6SiNP6hvWUmXr+5Gcl9OHravHTj85iArroxlVji5+ZM382ooN7gOmI/AInEI4+gfqGtQtiTqO77zgoX93rQRLxF4JSg0auav3Z9seT4QGb/5xi7Mgy0Y58JpR6J96T/2gNmq0g== X-Forefront-PRVS: 01630974C0 X-Forefront-Antispam-Report: SFV:SPM;SFS:(10019020)(4630300001)(6009001)(7916002)(39450400003)(199003)(24454002)(189002)(86362001)(105586002)(229853002)(46406003)(25786008)(6666003)(68736007)(6916009)(2950100002)(110136003)(36756003)(4326007)(2906002)(92566002)(53416004)(42186005)(101416001)(38730400001)(1076002)(50466002)(6506006)(5660300001)(33656002)(97756001)(6116002)(3846002)(54356999)(50986999)(76176999)(305945005)(7736002)(106356001)(93886004)(81156014)(97736004)(66066001)(9686002)(81166006)(69596002)(4001350100001)(8666006)(189998001)(47776003)(7416002)(8676002)(23726003)(83506001)(30126002);DIR:OUT;SFP:1501;SCL:5;SRVR:HE1PR0802MB2474;H:rkaganb.sw.ru;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX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2p90uaoXSTWC4sXSskGRhqCn3fJIdjOOLY=;5:RgvLggoHZfdxy0mohEhhcYnlGEo/BlN8ISSSyNG5qlJpY4sJnwfdUKPSS0qTkdHijnqixrL3CRuEBCBzVh6lUK9z+/idjB0DiqJtUaNw04tP45jHU0Maqyv1zH7tu1v3bMuKgh9oObTGOQBHMn5bXg==;24:26nQhTcjB3iMYcwkCw3Xn7O+rWej3iLdmMr7xlIFx0AXv3+mM/QtaqTW0+RqaBNjKXGy++TS468PAIaOX8m35A== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1;HE1PR0802MB2474;7:2UPkpxdBncSk/90vhtf/rWpeAppwYdjjSUCIw6IHU5xYYCTpnXSuK4gbi5ITsk69+AWq9b//IYxu2I/RGAJfSSXghlr4obAKsqRsOiDFw9ktqmoS+rQRVp68KQOqYG2A2g8R9D5JivzBZG3FwN544hK9K8CmI3viX4+we82lOGMJ/wRnSujT4aIFnXZk5d8NRdbxgUZa6iNMdLQXwH3s6dsysiT2cZW7GR5xrVdnRq4rILWZdDEOOerK9I7FK18KYMNGgPmtE5LmCBK5gMbKuA5oCcxym/45dWdtFKpnf3sbxmmOu2wI9O6vlL3QzCdxWoFomF+DUtyjGovcetgMv4uXv5VI5SOuJ8ettAHtO/05ClFn8F48w6tME9geLChjANQw5Qc/bAJTMoQifqpNevCaoEhxhO2UfeG38DAtrhOKga0b7lKlvredN0asGYYQiilTaGBxbNwVA1ma8EhW4w==;20:rcjbZioMopBkm/9jzotQz+LoExxeVAB3N9Zu2ONLi6LRXZJzFUdxoH3SeKwv4ehgss//yHD9fyfF4oa65ftGvSYDjjF9bPj7aivkzSlzqv6MzkwQ7GdEuLOSpsZTk9KGtD57ax4jF0qFBqttdi972I8vn03FQwBlDpwfY2O4Cs0= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2016 12:59:27.2376 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2474 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 19 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.