Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554149

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

From hpa@zytor.com
Newsgroups linux.kernel
Subject Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi
Date 2017-01-09 09:50 +0100
Message-ID <sXDOq-1PC-7@gated-at.bofh.it> (permalink)
References (6 earlier) <sQTuW-6O0-5@gated-at.bofh.it> <sQVwJ-820-1@gated-at.bofh.it> <sTNCF-1FX-3@gated-at.bofh.it> <sV6ad-48p-1@gated-at.bofh.it> <sXDOq-1PC-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On January 9, 2017 12:32:23 AM PST, Roman Kagan <rkagan@virtuozzo.com> wrote:
>On Mon, Jan 02, 2017 at 09:19:57AM +0100, Paolo Bonzini wrote:
>> On 28/12/2016 18:09, Roman Kagan wrote:
>> > 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.
>> 
>> Actually, QEMU's header-harvesting scripts use uapi/ headers
>> exclusively, since they are built on "make headers_install".
>> 
>> The extra cleanups that QEMU does on top are to allow compilation of
>the
>> headers on non-Linux machines.  They don't really do much more than
>> changing Linux (linux/types.h) integer types to the C99 (stdint.h)
>> equivalents.
>
>Ouch, I stand corrected.
>
>So what should we do with it then?  I'm sorta lost...
>
>We certainly can give it up and live with a private copy of the
>definitions in the QEMU tree but that doesn't sound optimal in any
>sense.
>
>Thanks,
>Roman.

Why do that through header mangling rather than typedef?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi hpa@zytor.com - 2017-01-09 09:50 +0100
  Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi Paolo Bonzini <pbonzini@redhat.com> - 2017-01-09 10:10 +0100

csiph-web