Received: from eggs.gnu.org ([2001:4830:134:3::10]:52990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnSTZ-0004Ml-E7 for qemu-devel@nongnu.org; Thu, 31 Aug 2017 12:37:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnSTU-0006Mb-Dt for qemu-devel@nongnu.org; Thu, 31 Aug 2017 12:37:53 -0400 Received: from mail-am5eur02hn0218.outbound.protection.outlook.com ([104.47.4.218]:4649 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnSTT-0006Lw-Oo for qemu-devel@nongnu.org; Thu, 31 Aug 2017 12:37:48 -0400 Date: Thu, 31 Aug 2017 19:37:28 +0300 From: Roman Kagan Message-ID: <20170831163727.GA24261@rkaganb.sw.ru> References: <20170713201522.13765-1-rkagan@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170713201522.13765-1-rkagan@virtuozzo.com> Subject: Re: [Qemu-devel] [PATCH 0/2] hyperv: own protocol header instead of kernel's List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Eduardo Habkost Cc: "Denis V . Lunev" , Evgeny Yakovlev , Igor Mammedov On Thu, Jul 13, 2017 at 11:15:20PM +0300, Roman Kagan wrote: > Supersede kernel's header for Hyper-V protocol definitions with our own. > The reason is that, since this is a third-party protocol and not a > kernel API, the kernel folks are not happy exposing it in the kernel > uapi. > > The patchset is done to allow gradual transition from the kernel's > hyperv.h to the new one: the first patch introduces the new header that > doesn't conflict with the old one, and the second makes sure the old one > isn't imported from the kernel any longer, so that the maintainers can > do the next round of kernel header import at their leisure and things > will keep working. > > Once (if) this lands in QEMU I'll post patches to KVM to move its > hyperv.h out of uapi. > > This is the first part split out of my former biggish "hyperv fixes and > enhancements" series. The only change is the underscore replaced with a > dash in the header file name. > > Roman Kagan (2): > hyperv: add header with protocol definitions > update-linux-headers: prepare for hyperv.h removal > > target/i386/cpu.h | 10 +- > target/i386/hyperv-proto.h | 257 ++++++++++++++++++++++++++++++++++++++++ > target/i386/cpu.c | 4 +- > target/i386/hyperv.c | 6 +- > target/i386/kvm.c | 57 +++++---- > target/i386/machine.c | 15 +-- > scripts/update-linux-headers.sh | 4 +- > 7 files changed, 304 insertions(+), 49 deletions(-) > create mode 100644 target/i386/hyperv-proto.h > > -- > 2.13.0 > > Ping? Roman.