[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] macOS build error after ddac19f534 (virtio: split virti
From: |
Greg Kurz |
Subject: |
Re: [Qemu-devel] macOS build error after ddac19f534 (virtio: split virtio 9p bits from virtio-pci) |
Date: |
Tue, 29 Jan 2019 10:04:26 +0100 |
On Tue, 29 Jan 2019 08:32:08 +0100
Philippe Mathieu-Daudé <address@hidden> wrote:
> Hi Zoltan,
>
> On 1/29/19 2:20 AM, BALATON Zoltan wrote:
> > Hello,
> >
> > I'm getting error building on macOS after commit ddac19f534:
> >
> > CC aarch64-softmmu/hw/virtio/virtio-blk-pci.o
> > In file included from qemu/hw/virtio/virtio-9p-pci.c:19:
> > In file included from qemu/hw/9pfs/virtio-9p.h:6:
> > In file included from qemu/hw/9pfs/9p.h:7:
> > qemu/fsdev/file-op-9p.h:19:10: fatal error: 'sys/vfs.h' file not found
> > #include <sys/vfs.h>
> > ^~~~~~~~~~~
> >
> > Am I missing something? (Apart from the include file which is not
> > present on OS X... Maybe this needs the #ifdefs it had before the split?)
>
No, the problem is that virtio-9p-pci should only be compiled on a linux
host.
> It seems commits are not correctly ordered for bisectability :(
>
> If you cherry-pick ecd3b89b054, does it build?
I agree this is likely the problem. A workaround is to pass --disable-virtfs
to configure when bisecting on OS X.