From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OZFsa-0006CC-3V for garchives@archives.gentoo.org; Thu, 15 Jul 2010 04:17:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53A8DE0A85; Thu, 15 Jul 2010 04:16:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F864E0A8F for ; Thu, 15 Jul 2010 04:16:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4A8131B400E for ; Thu, 15 Jul 2010 04:16:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.286 X-Spam-Level: X-Spam-Status: No, score=-2.286 required=5.5 tests=[AWL=-0.927, BAYES_00=-2.599, SARE_LWSHORTT=1.24] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0LnE1H5vd0lz for ; Thu, 15 Jul 2010 04:16:19 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 756F21B40D6 for ; Thu, 15 Jul 2010 04:16:19 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZFrm-0007gU-TM for gentoo-user@gentoo.org; Thu, 15 Jul 2010 06:16:10 +0200 Received: from adsl-69-234-182-12.dsl.irvnca.pacbell.net ([69.234.182.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 06:16:10 +0200 Received: from w41ter by adsl-69-234-182-12.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 06:16:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: [OT] Any centralized documentation on qemu-kvm? Date: Wed, 14 Jul 2010 21:15:59 -0700 Message-ID: References: <20100714035427.GA3812@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-182-12.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; en-US; rv:2.0b2pre) Gecko/20100714 Shredder/3.2a1pre In-Reply-To: <20100714035427.GA3812@waltdnes.org> X-Archives-Salt: 3bd4f529-e39e-43be-bac9-c0209a5008a8 X-Archives-Hash: 384420cb9dc746bd0814f09ff32d6b32 On 07/13/2010 08:54 PM, Walter Dnes wrote: > Before anybody asks... > 1) VirtualBox manages to do a hard locup on my Intel I3 > 2) qemu depends on softmmu, which requires gcc 3.x > > So I installed qemu-kvm (different from qemu). The documentation that > I've found via Google is out-of-date/irrelavant. I know that there is a > "kvm" command, and typing "qemu{TAB}{TAB}" gives me... > > waltdnes@i3 ~ $ qemu > qemu qemu-io qemu-system-x86_64 > qemu-i386 qemu-kvm qemu-x86_64 > qemu-img qemu-nbd > > Of the 9 commands, only qemu, qemu-img, and qemu-nbd have man pages. > So RTFM becomes a little harder. Are there any up-to-date central > locations for qemu-kvm documentation? Well, wait a sec. I track both qemu and qemu-kvm from their git repositories rather than the gentoo packages, so YMMV. One potentially very confusing thing between the two products is that the primary command-line program for qemu is (what else?) "qemu", but for qemu-kvm the primary command-line program is qemu-system-x86_64. (Only 64-bit machines with hardware virtualization support will run qemu-kmv, AFAIK.) BUT BEWARE: both qemu and qemu-kvm supply a file named qemu-system-x86_64, and they are not at all the same file, so you cannot have both packages installed in the same --prefix. (I don't know how gentoo resolves that conflict.) I install the git version of qemu in /usr/local, and qemu-kvm in /home/wa1ter, so I have to be careful to type the --prefix when I run one or the other. qemu-kvm does not supply a command named 'qemu', so there is no name conflict in that particular case. If you type 'qemu-system-x86_64', however, you will get completely different results depending on which package you are actually executing, so watch it! AFAICT, the command-line flags for 'qemu' and 'qemu-system-x86_64' are identical at least for simple stuff, though I never use the super-anal-compulsive flags for complicated networking/bridging/firewalling stuff, so I can't comment on it. My impression from experience is that qemu-img is the same for both packages, but I'm careful anyway to use the matching version, just in case. For the short term, I'd say you can use the regular qemu docs for looking up what command-line flags to use with qemu-kvm. If you find any exceptions, please let us know.