From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVhkx-0001DA-61 for qemu-devel@nongnu.org; Thu, 03 Apr 2014 09:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVhkr-00088c-1x for qemu-devel@nongnu.org; Thu, 03 Apr 2014 09:32:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVhkq-00088W-Qi for qemu-devel@nongnu.org; Thu, 03 Apr 2014 09:32:28 -0400 Date: Thu, 3 Apr 2014 16:33:02 +0300 From: "Michael S. Tsirkin" Message-ID: <20140403133302.GB17155@redhat.com> References: <1396450668-12145-1-git-send-email-afaerber@suse.de> <20140402150605.GC11627@redhat.com> <533C279D.4090402@suse.de> <20140402151542.GD11627@redhat.com> <533C29AF.3030408@redhat.com> <20140403111642.GA16914@redhat.com> <533D449C.30806@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <533D449C.30806@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: Paolo Bonzini , Cam Macdonell , qemu-devel@nongnu.org, stefanha@redhat.com On Thu, Apr 03, 2014 at 01:23:08PM +0200, Andreas F=E4rber wrote: > Am 03.04.2014 13:16, schrieb Michael S. Tsirkin: > > On Wed, Apr 02, 2014 at 05:15:59PM +0200, Paolo Bonzini wrote: > >> Il 02/04/2014 17:15, Michael S. Tsirkin ha scritto: > >>> Yes and I think this someone was you actually. > >>> Can something similar be done for this test? > >>> > >> > >> I think ivshmem depends on ioeventfd, doesn't it? So short of > >> implementing ioeventfd for TCG, no. > >> > >> Paolo > >=20 > > Okay so will make check just fail on a non kvm host? >=20 > Yes, this test fails on FreeBSD for instance, therefore this is a > non-polished RFC. I'm hoping for comments how to best make it not crash. >=20 > Cheers, > Andreas Well we could work around this - start machine with kvm or without if not supported - query ioeventfd support But maybe it's easier to implement eventfd APIs ... > --=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