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 1P50Kx-0007zz-1G for garchives@archives.gentoo.org; Sun, 10 Oct 2010 18:09:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 214C1E063E; Sun, 10 Oct 2010 18:08:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F2750E063E for ; Sun, 10 Oct 2010 18:08:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B02CC1B4117 for ; Sun, 10 Oct 2010 18:08:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.901 X-Spam-Level: X-Spam-Status: No, score=-2.901 required=5.5 tests=[AWL=-0.302, BAYES_00=-2.599] 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 Md7MfjWXxife for ; Sun, 10 Oct 2010 18:08:40 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 34EB867FF9 for ; Sun, 10 Oct 2010 18:08:37 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P50K3-0002NV-4k for gentoo-user@gentoo.org; Sun, 10 Oct 2010 20:08:35 +0200 Received: from adsl-69-234-214-85.dsl.irvnca.pacbell.net ([69.234.214.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Oct 2010 20:08:35 +0200 Received: from w41ter by adsl-69-234-214-85.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Oct 2010 20:08:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: [OT] Problems with libvirt / qemu Date: Sun, 10 Oct 2010 11:08:26 -0700 Message-ID: References: <201010101605.40004.Dan.Johansson@dmj.nu> 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-214-85.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b8pre) Gecko/20101008 Thunderbird/3.3a1pre In-Reply-To: <201010101605.40004.Dan.Johansson@dmj.nu> X-Archives-Salt: d396cc3f-a10c-4db6-9481-c57b19755542 X-Archives-Hash: b6d7e5024a854da693a3e5bda013f88b On 10/10/2010 07:05 AM, Dan Johansson wrote: > I know this is of topic, but this is one of the few lists where you mostly get a competent answer. > > I have a small problem with libvirt / qemu. I have created a guest (also gentoo) on a gentoo hosts and when I start it from the command-line the guests starts OK, but when I start the guest through libvirt with "virsh start" I get "Booting from Hard Disk... > Boot failed: not a bootable disk > No bootable device" > > This is the command-line I use to start the guest (which works) > "cd /var/lib/kvm/Wilmer; /usr/bin/qemu-system-x86_64 --enable-kvm \ > -net nic,vlan=1,model=rtl8139,macaddr=DE:ED:BE:EF:01:03 -net tap,vlan=1,ifname=qtap13,script=no,downscript=no \ > -net nic,vlan=3,model=rtl8139,macaddr=DE:ED:BE:EF:03:03 -net tap,vlan=3,ifname=qtap33,script=no,downscript=no \ > -m 2048 -k de-ch -vnc :3 -daemonize \ > Wilmer.qcow2" > > > The libvirt XML-file was created using "virsh domxml-from-native qemu-argv" and this is the result of that conversion: > You obviously know more about libvirt than I do, but I'm wondering about that 'hd'. qemu knows enough to interpret Wilmer.qcow2 as the boot disk, but maybe libvirt isn't that smart. I'd maybe try using an explicit '-hda Wilmer.qcow2' in your original script so virsh doesn't need to assume anything while converting it. Fingers crossed :)