[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include fi
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file |
Date: |
Sun, 14 Sep 2014 18:09:31 +0300 |
On Sun, Sep 14, 2014 at 07:32:21AM -0700, Peter Maydell wrote:
> On 14 September 2014 07:11, Michael S. Tsirkin <address@hidden> wrote:
> > On Sun, Sep 14, 2014 at 07:04:11AM -0700, Peter Maydell wrote:
> >> On 14 September 2014 06:46, Michael S. Tsirkin <address@hidden> wrote:
> >> > BUILD_BUG_ON in linux, QEMU_BUILD_BUG_ON in QEMU.
> >> > You have to stick it in a C file though, so it
> >> > won't be visible in this patch.
> >>
> >> Why do you think that? We have several header files which
> >> use QEMU_BUILD_BUG_ON and I don't see any reason why
> >> it would have to be invoked from a .c file.
>
> > Because Gerd wants to share this with linux uapi, and
> > you can't use BUILD_BUG_ON in uapi headers on linux.
>
> Who owns the "master" copy of the header and commits
> to making sure it builds on other things than Linux+gcc
> in that case?
>
> -- PMM
For most of virtio neither linux nor QEMU are the master.
syncing them has been done manually in the past.
As we are copying other headers from Linux anyway,
I think it would be better for everyone if we make
the Linux headers the master for QEMU going forward.
--
MST
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, (continued)
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Eric Blake, 2014/09/11
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Gerd Hoffmann, 2014/09/12
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Eric Blake, 2014/09/12
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Eric Blake, 2014/09/12
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Peter Maydell, 2014/09/12
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Michael S. Tsirkin, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Peter Maydell, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Michael S. Tsirkin, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Peter Maydell, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file,
Michael S. Tsirkin <=
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Peter Maydell, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Michael S. Tsirkin, 2014/09/14
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Gerd Hoffmann, 2014/09/15
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Gerd Hoffmann, 2014/09/15
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Michael S. Tsirkin, 2014/09/15
- Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file, Peter Maydell, 2014/09/11
- [Qemu-devel] [PATCH 2/2] virtio-gpu/2d: add docs/specs/virtio-gpu.txt, Gerd Hoffmann, 2014/09/11