[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.5 v4 4/4] tests: add vhost-user-test when
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH for-2.5 v4 4/4] tests: add vhost-user-test when target is x64 only |
Date: |
Tue, 1 Dec 2015 08:28:38 -0500 (EST) |
Hi
----- Original Message -----
> > diff --git a/tests/Makefile b/tests/Makefile
> > index 0ef00a1..cf1228b 100644
> > --- a/tests/Makefile
> > +++ b/tests/Makefile
> > @@ -198,13 +198,13 @@ check-qtest-i386-y += tests/pc-cpu-test$(EXESUF)
> > check-qtest-i386-y += tests/q35-test$(EXESUF)
> > gcov-files-i386-y += hw/pci-host/q35.c
> > check-qtest-i386-$(CONFIG_VHOST_NET_TEST_i386) +=
> > tests/vhost-user-test$(EXESUF)
> > -ifeq ($(CONFIG_VHOST_NET_TEST_i386),)
> > -check-qtest-x86_64-$(CONFIG_VHOST_NET_TEST_x86_64) +=
> > tests/vhost-user-test$(EXESUF)
> > -endif
> > check-qtest-i386-y += tests/test-netfilter$(EXESUF)
> > check-qtest-x86_64-y = $(check-qtest-i386-y)
> > gcov-files-i386-y += i386-softmmu/hw/timer/mc146818rtc.c
> > gcov-files-x86_64-y = $(subst
> > i386-softmmu/,x86_64-softmmu/,$(gcov-files-i386-y))
> > +ifeq ($(CONFIG_VHOST_NET_TEST_i386),)
> > +check-qtest-x86_64-$(CONFIG_VHOST_NET_TEST_x86_64) +=
> > tests/vhost-user-test$(EXESUF)
> > +endif
>
> So is this limitation due to the guest binary we need to test this?
> Surely any KVM enabled build with vhost support should be able to run
> the test?
Any that has CONFIG_VHOST_NET_TEST_$target_name set in configure. It looks like
we are
missing other than x86 hosts support in the Makefile, but I don't have other
than
x86 kvm-enabled hosts to test it. I suppose this is better to be addresses
after 2.5.