mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
- Disable migration-test with TCG on s390x (since there are known problems)
- Small Makefile improvements - More modern shell scripting changes (use $() instead of ``) - Add a configure option to disable AVX2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJb0BmBAAoJEC7Z13T+cC211ncP/3840olUFlnruiuuziFFpmv2 Xs3zVPqdPbMPxFKbV3n78QYMkgilfWR1U4RpLWvsNLyyIwrhCxoL1Za7hGhS3Xyv 9Z96Hn1MINnwap88OCstjKLXLHCQFByTUawIXAbjo7hpkzOlet2DQ2rIA/LVqHM2 IbBLccjOyzcp/xrvAyoRDQO/euY9LhiHj6MwWAMQNHuN0K+1TadcNx4Q7cnkdL8K 3uXaCCozds+JDJBw3HRjTTxNS0AD4CluxTe0mnUd4JxzbYdJxzF1f7+Lbo6wep6z VsRrr+6zquk66yosFpenBaXZyd6tT914tZgIjOatmWYu6CiexEMiSj93CnOvuQr/ 4pwvzf1AP19IrVyuVityI4KU1gAo2sK/0j5i8g5Xcjjm650QLzLSRpkuk3e/t0Us 98JDyj3k2/YchPCTZZvTu+iGnDQl18Gsv2AfpminTJux93rVa42tAS7qfP1UH+iq OMYWpAq/8GVirEZQZRJzwVxMIxX1Q+//fELpevPtzOxVbctOvQXW3Nvbmq4c0fGI 7gB0VhWtCITl38cwMmNF2rppckJXVKkD8eMvv7MHgfqxfylUQvvAzbh6BGDqYPAE 3X2RjaXpz/FtKq8+y9tMlXijgc1TL+79Lcd4ePYT8I3BqdVkbXHv0ak3rsbZbDRZ DdVI985IJUOREXz5TcMC =oIf9 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2018-10-24' into staging - Disable migration-test with TCG on s390x (since there are known problems) - Small Makefile improvements - More modern shell scripting changes (use $() instead of ``) - Add a configure option to disable AVX2 # gpg: Signature made Wed 24 Oct 2018 08:04:33 BST # gpg: using RSA key 2ED9D774FE702DB5 # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" # gpg: aka "Thomas Huth <thuth@redhat.com>" # gpg: aka "Thomas Huth <huth@tuxfamily.org>" # gpg: aka "Thomas Huth <th.huth@posteo.de>" # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5 * remotes/huth-gitlab/tags/pull-request-2018-10-24: configure: Provide option to explicitly disable AVX2 po/Makefile: Modern shell scripting (use $() instead of ``) debian-bootstrap.pre: Modern shell scripting (use $() instead of ``) configs: Add a CONFIG_SMC37C669 switch for the "smc37c669-superio" device hw/core: Move null-machine into the common-obj list tests/migration-test: Disable s390x test when running with TCG Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
18e195645a
11
configure
vendored
11
configure
vendored
@ -428,7 +428,7 @@ usb_redir=""
|
||||
opengl=""
|
||||
opengl_dmabuf="no"
|
||||
cpuid_h="no"
|
||||
avx2_opt="no"
|
||||
avx2_opt=""
|
||||
zlib="yes"
|
||||
capstone=""
|
||||
lzo=""
|
||||
@ -1329,6 +1329,10 @@ for opt do
|
||||
;;
|
||||
--disable-glusterfs) glusterfs="no"
|
||||
;;
|
||||
--disable-avx2) avx2_opt="no"
|
||||
;;
|
||||
--enable-avx2) avx2_opt="yes"
|
||||
;;
|
||||
--enable-glusterfs) glusterfs="yes"
|
||||
;;
|
||||
--disable-virtio-blk-data-plane|--enable-virtio-blk-data-plane)
|
||||
@ -1703,6 +1707,7 @@ disabled with --disable-FEATURE, default is enabled if available:
|
||||
libxml2 for Parallels image format
|
||||
tcmalloc tcmalloc support
|
||||
jemalloc jemalloc support
|
||||
avx2 AVX2 optimization support
|
||||
replication replication support
|
||||
vhost-vsock virtio sockets device support
|
||||
opengl opengl support
|
||||
@ -5032,7 +5037,7 @@ fi
|
||||
# There is no point enabling this if cpuid.h is not usable,
|
||||
# since we won't be able to select the new routines.
|
||||
|
||||
if test $cpuid_h = yes; then
|
||||
if test "$cpuid_h" = "yes" -a "$avx2_opt" != "no"; then
|
||||
cat > $TMPC << EOF
|
||||
#pragma GCC push_options
|
||||
#pragma GCC target("avx2")
|
||||
@ -5046,6 +5051,8 @@ int main(int argc, char *argv[]) { return bar(argv[0]); }
|
||||
EOF
|
||||
if compile_object "" ; then
|
||||
avx2_opt="yes"
|
||||
else
|
||||
avx2_opt="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -19,3 +19,4 @@ CONFIG_IDE_CMD646=y
|
||||
CONFIG_I8259=y
|
||||
CONFIG_MC146818RTC=y
|
||||
CONFIG_ISA_TESTDEV=y
|
||||
CONFIG_SMC37C669=y
|
||||
|
@ -21,5 +21,4 @@ common-obj-$(CONFIG_SOFTMMU) += or-irq.o
|
||||
common-obj-$(CONFIG_SOFTMMU) += split-irq.o
|
||||
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
|
||||
common-obj-$(CONFIG_SOFTMMU) += generic-loader.o
|
||||
|
||||
obj-$(CONFIG_SOFTMMU) += null-machine.o
|
||||
common-obj-$(CONFIG_SOFTMMU) += null-machine.o
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "hw/boards.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "cpu.h"
|
||||
#include "qom/cpu.h"
|
||||
|
||||
static void machine_none_init(MachineState *mch)
|
||||
{
|
||||
|
@ -1,9 +1,10 @@
|
||||
common-obj-$(CONFIG_ISA_BUS) += isa-bus.o
|
||||
common-obj-$(CONFIG_ISA_BUS) += isa-superio.o smc37c669-superio.o
|
||||
common-obj-$(CONFIG_ISA_BUS) += isa-superio.o
|
||||
common-obj-$(CONFIG_APM) += apm.o
|
||||
common-obj-$(CONFIG_I82378) += i82378.o
|
||||
common-obj-$(CONFIG_PC87312) += pc87312.o
|
||||
common-obj-$(CONFIG_PIIX4) += piix4.o
|
||||
common-obj-$(CONFIG_VT82C686) += vt82c686.o
|
||||
common-obj-$(CONFIG_SMC37C669) += smc37c669-superio.o
|
||||
|
||||
obj-$(CONFIG_LPC_ICH9) += lpc_ich9.o
|
||||
|
@ -36,7 +36,7 @@ clean:
|
||||
|
||||
install: $(OBJS)
|
||||
for obj in $(OBJS); do \
|
||||
base=`basename $$obj .mo`; \
|
||||
base=$$(basename $$obj .mo); \
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES; \
|
||||
$(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
|
||||
done
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# Simple wrapper for debootstrap, run in the docker build context
|
||||
#
|
||||
FAKEROOT=`which fakeroot 2> /dev/null`
|
||||
FAKEROOT=$(which fakeroot 2> /dev/null)
|
||||
# debootstrap < 1.0.67 generates empty sources.list, see Debian#732255
|
||||
MIN_DEBOOTSTRAP_VERSION=1.0.67
|
||||
|
||||
@ -52,7 +52,7 @@ fi
|
||||
|
||||
if [ -z $DEBOOTSTRAP_DIR ]; then
|
||||
NEED_DEBOOTSTRAP=false
|
||||
DEBOOTSTRAP=`which debootstrap 2> /dev/null`
|
||||
DEBOOTSTRAP=$(which debootstrap 2> /dev/null)
|
||||
if [ -z $DEBOOTSTRAP ]; then
|
||||
echo "No debootstrap installed, attempting to install from SCM"
|
||||
NEED_DEBOOTSTRAP=true
|
||||
|
@ -803,6 +803,22 @@ int main(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Similar to ppc64, s390x seems to be touchy with TCG, so disable it
|
||||
* there until the problems are resolved
|
||||
*/
|
||||
if (g_str_equal(qtest_get_arch(), "s390x")) {
|
||||
#if defined(HOST_S390X)
|
||||
if (access("/dev/kvm", R_OK | W_OK)) {
|
||||
g_test_message("Skipping test: kvm not available");
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
g_test_message("Skipping test: Need s390x host to work properly");
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
tmpfs = mkdtemp(template);
|
||||
if (!tmpfs) {
|
||||
g_test_message("mkdtemp on path (%s): %s\n", template, strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user