vhost: Don't special case vq->used_phys in vhost_get_log_size()
[qemu/ar7.git] / tests / docker / test-mingw
blobc30eb654eb7940f512bf848b208ecc20ff7e5b29
1 #!/bin/bash -e
3 # Cross compile QEMU with mingw toolchain on Linux.
5 # Copyright (c) 2016 Red Hat Inc.
7 # Authors:
8 # Fam Zheng <famz@redhat.com>
10 # This work is licensed under the terms of the GNU GPL, version 2
11 # or (at your option) any later version. See the COPYING file in
12 # the top-level directory.
14 . common.rc
16 requires mingw dtc
18 cd "$BUILD_DIR"
20 for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
21 TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
22 build_qemu --cross-prefix=$prefix \
23 --enable-trace-backends=simple \
24 --enable-gnutls \
25 --enable-nettle \
26 --enable-curl \
27 --enable-vnc \
28 --enable-bzip2 \
29 --enable-guest-agent \
30 --enable-docs
31 install_qemu
32 make installer
33 make clean
35 done