On Fri, Jan 19, 2018 at 4:13 PM, Zhoujian (jay) <jianjay.z...@huawei.com> wrote:
> [...]
>
>> Configure options:
>> --enable-werror --target-list=x86_64-softmmu,aarch64-softmmu --
>> prefix=/tmp/qemu-test/install
> [...]
>
>> KVM support       yes
>> HAX support       no
>> HVF support       no
>> TCG support       yes
>> TCG debug enabled no
>> TCG interpreter   no
>> malloc trim support yes
>> RDMA support      yes
>> fdt support       yes
>> preadv support    yes
>> fdatasync         yes
>> madvise           yes
>> posix_madvise     yes
>> libcap-ng support no
>> vhost-net support yes
>> vhost-crypto support yes
>> vhost-scsi support yes
>> vhost-vsock support yes
>> vhost-user support yes
> [...]
>
>> make[1]: *** No rule to make target `../backends/cryptodev-vhost-user.o',
>> needed by `qemu-system-x86_64'.  Stop.
>> make[1]: *** Waiting for unfinished jobs....
>
> But it's successfully compiled using centos7 and mingw32 locally, and I 
> couldn't
> reproduce this. Is it related to docker? (I don't have docker environment in 
> hand)
>

I don't know, maybe it's related to the -j8 parallelism? If you simply do:

$ sudo yum install docker
$ sudo systemctl start docker

You'll have a docker environment ready. (you should be root or make
sure passwordless sudo works in order to run docker commands). Then:

$ make docker-test-build@min-glib V=1 J=8

If it fails, add DEBUG=1 to the command line and start again. If will
prompt you in a shell before building QEMU. Press ctrl-d to start
building. When error happens, you'll be in the shell again to do usual
things (debug, edit-build-run...).

(We should add a docs/devel/docker-testing.txt describing the steps).

Fam

Reply via email to