From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVMsh-0003DC-TK for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVMsd-000716-12 for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:15:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVMsc-00070o-PM for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:15:06 -0400 Date: Wed, 2 Apr 2014 18:15:42 +0300 From: "Michael S. Tsirkin" Message-ID: <20140402151542.GD11627@redhat.com> References: <1396450668-12145-1-git-send-email-afaerber@suse.de> <20140402150605.GC11627@redhat.com> <533C279D.4090402@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <533C279D.4090402@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: pbonzini@redhat.com, Cam Macdonell , qemu-devel@nongnu.org, stefanha@redhat.com On Wed, Apr 02, 2014 at 05:07:09PM +0200, Andreas F=E4rber wrote: > Am 02.04.2014 17:06, schrieb Michael S. Tsirkin: > > On Wed, Apr 02, 2014 at 04:57:48PM +0200, Andreas F=E4rber wrote: > >> Note that it launches two instances to as sharing memory is the purp= ose > >> of Nahanni/ivshmem. > >> > >> Cc: Cam Macdonell > >> Signed-off-by: Andreas F=E4rber > >> --- > >> This test demonstrates a use case of running two QEMU instances in = qtest. > >> > >> However, similar to mst's proposed KVM acpi-test, it fails on syste= ms > >> without KVM support, > >=20 > > Hmm, acpi-test no longer depends on kvm. >=20 > You only committed the TCG version due to someone raising the issue. Bu= t > maybe I'm mistaken... >=20 > Andreas Yes and I think this someone was you actually. Can something similar be done for this test? > >> and we cannot use $(CONFIG_KVM) to make it conditional > >> since that is a per-target define rather than host-wide. > >> > >> I wonder if libqtest should expose an API to start a QEMU instance = and > >> inquire via QMP whether the executable supports KVM, returning true= or false? >=20 > --=20 > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrn= berg