From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVMl1-0006Ww-Nv for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:07:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVMkw-00046n-9i for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:07:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33057 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVMkw-00046i-3U for qemu-devel@nongnu.org; Wed, 02 Apr 2014 11:07:10 -0400 Message-ID: <533C279D.4090402@suse.de> Date: Wed, 02 Apr 2014 17:07:09 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1396450668-12145-1-git-send-email-afaerber@suse.de> <20140402150605.GC11627@redhat.com> In-Reply-To: <20140402150605.GC11627@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 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: "Michael S. Tsirkin" Cc: pbonzini@redhat.com, Cam Macdonell , qemu-devel@nongnu.org, stefanha@redhat.com 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 purpos= e >> of Nahanni/ivshmem. >> >> Cc: Cam Macdonell >> Signed-off-by: Andreas F=E4rber >> --- >> This test demonstrates a use case of running two QEMU instances in qt= est. >> >> However, similar to mst's proposed KVM acpi-test, it fails on systems >> without KVM support, >=20 > Hmm, acpi-test no longer depends on kvm. You only committed the TCG version due to someone raising the issue. But maybe I'm mistaken... Andreas >> 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 an= d >> inquire via QMP whether the executable supports KVM, returning true o= r false? --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg