Received: from eggs.gnu.org ([2001:4830:134:3::10]:52294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6xIH-0002LT-I4 for qemu-devel@nongnu.org; Wed, 16 Nov 2016 05:18:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6xIE-0004eO-Ba for qemu-devel@nongnu.org; Wed, 16 Nov 2016 05:18:17 -0500 References: <1479291246-29969-1-git-send-email-thuth@redhat.com> From: Laurent Vivier Message-ID: <96303746-6cb1-e333-dda0-c5ab0134b05b@redhat.com> Date: Wed, 16 Nov 2016 11:18:08 +0100 MIME-Version: 1.0 In-Reply-To: <1479291246-29969-1-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] tests/postcopy: Use KVM on ppc64 only if it is KVM-HV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , David Gibson , qemu-ppc@nongnu.org, "Dr. David Alan Gilbert" , Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Andrea Arcangeli , Greg Kurz , Eric Blake On 16/11/2016 11:14, Thomas Huth wrote: > The ppc64 postcopy test does not work with KVM-PR, and it is also > causing annoying warning messages when run on a x86 host. So let's > use KVM here only if we know that we're running with KVM-HV (which > automatically also means that we're running on a ppc64 host), and > use TCG otherwise. > > Signed-off-by: Thomas Huth > --- > v2: > - Check also /dev/kvm to make sure that we're allowed to access KVM I'm not sure it's a good idea as we will fail silently whereas QEMU sends an error message. It's common mistake we should be aware of. Laurent