From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42289 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV5WC-0004LZ-IX for qemu-devel@nongnu.org; Tue, 21 Dec 2010 11:56:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV5WB-0003dC-IL for qemu-devel@nongnu.org; Tue, 21 Dec 2010 11:56:56 -0500 Received: from mail-vw0-f45.google.com ([209.85.212.45]:42591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV5WB-0003d5-Fo for qemu-devel@nongnu.org; Tue, 21 Dec 2010 11:56:55 -0500 Received: by vws12 with SMTP id 12so1728985vws.4 for ; Tue, 21 Dec 2010 08:56:54 -0800 (PST) Message-ID: <4D10DC52.9010301@codemonkey.ws> Date: Tue, 21 Dec 2010 10:56:50 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] qemu-kvm: Switch to upstream -enable-kvm semantics References: <4D08FB7D.2010702@codemonkey.ws> <4D10C4B2.9000401@redhat.com> <20101221160032.GG28002@amd.home.annexia.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Avi Kivity , "Richard W.M. Jones" , kvm@vger.kernel.org, qemu-devel On 12/21/2010 10:07 AM, Markus Armbruster wrote: > "Richard W.M. Jones" writes: > > >> On Tue, Dec 21, 2010 at 04:41:03PM +0100, Markus Armbruster wrote: >> >>> Like this? >>> >>> upstream qemu | default |-enable-kvm >>> ----------------+-----------+----------- >>> KVM available | disabled | enabled >>> KVM unavailable | disabled | fail >>> >>> qemu-kvm | default |-enable-kvm| -no-kvm >>> ----------------+-----------+-----------+----------- >>> KVM available | enabled* | enabled | disabled >>> KVM unavailable | disabled | fail | disabled >>> >>> * differs from upstream >>> >> libguestfs wants "best effort" behaviour, and libvirt wants "KVM or die" >> behaviour. >> > For what it's worth, default gives you exactly that with qemu-kvm. > Maybe that's good enough, on the theory that if you have KVM, you most > likely have libguestfs using qemu-kvm. > > >> Avi, can you comment on whether just opening /dev/kvm O_RDWR is a >> reasonable way to detect if KVM is available? >> >> Markus, any idea when we might get the -accel option appearing in >> released versions of qemu/KVM? >> > No idea. Anthony? > I see no problem with 0.15 if someone cooks up a patch. Regards, Anthony Liguori