[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest |
Date: |
Thu, 3 Apr 2014 16:33:02 +0300 |
On Thu, Apr 03, 2014 at 01:23:08PM +0200, Andreas Färber 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
> >
> > Okay so will make check just fail on a non kvm host?
>
> 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.
>
> 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 ...
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg