From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Johansson Subject: Re: [libvirt-users] Problems with libvirt / qemu Date: Mon, 11 Oct 2010 18:57:27 +0200 Message-ID: <201010111857.27964.kvm@dmj.nu> References: <201010101614.57184.kvm@dmj.nu> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail16.bluewin.ch ([195.186.19.63]:64052 "EHLO mail16.bluewin.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753167Ab0JKREe (ORCPT ); Mon, 11 Oct 2010 13:04:34 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Yes, the image contains an OS (it works if I start the guest manually). On Monday 11 October 2010 03.41:29 jbuy0710 wrote: > The image contains an OS or not? > If not, you can't choose to boot from disk like "" > > 2010/10/10 Dan Johansson : > > HI, > > > > I have a small problem with libvirt / qemu. I have created a guest 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: > > > > wilmer > > a421968d-0573-1356-8cb7-32caff525a03 > > 2097152 > > 2097152 > > 2 > > > > hvm > > > > > > > > > > > > > > destroy > > restart > > destroy > > > > /usr/bin/qemu-system-x86_64 > > > > > > > >
> > > > > >
> > > > > > > >