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 1P5LnT-0006fD-SK for garchives@archives.gentoo.org; Mon, 11 Oct 2010 17:04:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D2B6E07A4 for ; Mon, 11 Oct 2010 17:04:23 +0000 (UTC) Received: from mail12.bluewin.ch (mail12.bluewin.ch [195.186.19.61]) by pigeon.gentoo.org (Postfix) with ESMTP id 933F3E0632 for ; Mon, 11 Oct 2010 16:48:14 +0000 (UTC) X-FXIT-IP: IPv4[62.203.191.135] Epoch[1286815693] Received: from [62.203.191.135] ([62.203.191.135:29909] helo=dmj.nu) by mail12.bluewin.ch (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id 25/CC-08128-CCF33BC4; Mon, 11 Oct 2010 16:48:13 +0000 Received: from queen.localnet (queen.dmj.nu [192.168.1.11]) by dmj.nu with esmtp; Mon, 11 Oct 2010 18:48:13 +0200 id 00000000005057AA.000000004CB33FCD.00000B15 From: Dan Johansson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [OT] Problems with libvirt / qemu Date: Mon, 11 Oct 2010 18:48:11 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-gentoo-r6; KDE/4.4.5; x86_64; ; ) References: <201010101605.40004.Dan.Johansson@dmj.nu> In-Reply-To: X-Face: &pU{afj:B4l63kI+Lqyk~Sy4/whF_tOpA+G|\c?XeMpAaD/vgsopla?wk%#wum) =?utf-8?q?=2E/P7PL+=0A=09m?=@q{~IZ-Abs^fx8~&y=';Hf|q0QJ9'$hDLY-]G]qZi%D*]t,~cIK7&COJ+PB%k]I> =?utf-8?q?70nan=0A=09P4a4b?=,C!8S}q!8f'$0uXtH2dm2:Vcq6?KWwe/=VBL],r+d[~tG.JjxUv8\|`j: X-message-flag: Using Microsoft software might be a security risk 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" Content-Transfer-Encoding: 7bit Message-Id: <201010111848.12192.Dan.Johansson@dmj.nu> X-Archives-Salt: 386198de-db0c-463c-a852-7ac753d9c0dc X-Archives-Hash: 15c3b72dc446f8786e11559c5e47a841 On Sunday 10 October 2010 20.08:26 walt wrote: > 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. Good point - but that did not help, still the same. :-( -- Dan Johansson, *************************************************** This message is printed on 100% recycled electrons! ***************************************************