qemu-devel
[Top][All Lists]
Advanced

[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: Wed, 2 Apr 2014 18:15:42 +0300

On Wed, Apr 02, 2014 at 05:07:09PM +0200, Andreas Färber wrote:
> Am 02.04.2014 17:06, schrieb Michael S. Tsirkin:
> > On Wed, Apr 02, 2014 at 04:57:48PM +0200, Andreas Färber wrote:
> >> Note that it launches two instances to as sharing memory is the purpose
> >> of Nahanni/ivshmem.
> >>
> >> Cc: Cam Macdonell <address@hidden>
> >> Signed-off-by: Andreas Färber <address@hidden>
> >> ---
> >>  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 systems
> >>  without KVM support,
> > 
> > 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

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?
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]