Received: from eggs.gnu.org ([2001:4830:134:3::10]:45583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhgw0-0001VD-Q1 for qemu-devel@nongnu.org; Tue, 15 Aug 2017 14:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhgvw-0001sq-9i for qemu-devel@nongnu.org; Tue, 15 Aug 2017 14:51:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33910) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhgvv-0001s9-Vk for qemu-devel@nongnu.org; Tue, 15 Aug 2017 14:51:20 -0400 References: <20170815163959.6632-1-f4bug@amsat.org> <20170815163959.6632-2-f4bug@amsat.org> <4837e428-461c-ef00-b584-42e4c22e8fc7@amsat.org> <6b25c2fb-6f18-37e3-b7dd-56b9d59c22ca@redhat.com> From: Eric Blake Message-ID: <17eb7281-8264-9510-a2a1-ad023ebfd2a7@redhat.com> Date: Tue, 15 Aug 2017 13:51:15 -0500 MIME-Version: 1.0 In-Reply-To: <6b25c2fb-6f18-37e3-b7dd-56b9d59c22ca@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7Vdoib47h5igxHPfkaGWE8eTrgAuQtlU1" Subject: Re: [Qemu-devel] [RFC PATCH 1/2] libqtest: add qtest_accel() to avoid warnings when kvm is not available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , "Michael S . Tsirkin" , Thomas Huth , Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7Vdoib47h5igxHPfkaGWE8eTrgAuQtlU1 From: Eric Blake To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , "Michael S . Tsirkin" , Thomas Huth , Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org Message-ID: <17eb7281-8264-9510-a2a1-ad023ebfd2a7@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 1/2] libqtest: add qtest_accel() to avoid warnings when kvm is not available References: <20170815163959.6632-1-f4bug@amsat.org> <20170815163959.6632-2-f4bug@amsat.org> <4837e428-461c-ef00-b584-42e4c22e8fc7@amsat.org> <6b25c2fb-6f18-37e3-b7dd-56b9d59c22ca@redhat.com> In-Reply-To: <6b25c2fb-6f18-37e3-b7dd-56b9d59c22ca@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/15/2017 01:40 PM, Eric Blake wrote: > On 08/15/2017 01:27 PM, Philippe Mathieu-Daud=C3=A9 wrote: >> On 08/15/2017 03:13 PM, Eric Blake wrote: >>> On 08/15/2017 11:39 AM, Philippe Mathieu-Daud=C3=A9 wrote: >>>> only warn once about it. >>>> >>>> - kernel without kvm: >>>> >>>> # make check-qtest-x86_64 >>>> GTESTER check-qtest-x86_64 >>>> Could not access KVM kernel module: No such device >>>> qemu-system-x86_64: failed to initialize KVM: No such device >>>> qemu-system-x86_64: Back to tcg accelerator >>> >>> How does this differ from what commit 2f6b38d1 was trying to do? >> >> I'd say 2f6b38d1 is for common end-user usage while this is for >> QA/testers usage. If you run N qtests with the same machine arguments,= >> having this warning displayed only once is enough and allow you to foc= us >> on the tests output. >=20 > I guess my question is: Are we still getting a warning output even with= > 2f6b38d1 applied? If so, why, because the point of that commit was to > avoid the warning. And answering my own question: yes, the builds are still verbose when done in a VM that lacks nested kvm. :( --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --7Vdoib47h5igxHPfkaGWE8eTrgAuQtlU1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlmTQqMACgkQp6FrSiUn Q2pIPQf/WBiew8nGdjRu+cb0XZSVOalc08zeGk+BC77k6dc5Srn7VKGOgY40qudS oTe5wvAq4ERD+/ug+foOP4ApGgYJtrJv1re/ubk9PVL6X1oPw457lHoFyxcjobVc K295vxXGNfMhH6r+M2Z5JBzdWXApgt/5tcY+G5YP3iTJJw49tUT1btL4+GaD6HIc RjzI+ItG92TZSh/niCweAQuzHv7pz5oh6pv+lI33IgvnaGkYOWSVCDfSVi6SxEMz DyKsVXPpe7Q7f3E9WXv/hYye9Itk7AFGDubnoygAQDfOPedu3Fdg3ZOlI2q6e5k1 A8wpVesZD9StukDPWEADusAHwkAv7g== =f6r+ -----END PGP SIGNATURE----- --7Vdoib47h5igxHPfkaGWE8eTrgAuQtlU1--