public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [OT] Problems with libvirt / qemu
Date: Sun, 10 Oct 2010 11:08:26 -0700	[thread overview]
Message-ID: <i8sveq$7v6$1@dough.gmane.org> (raw)
In-Reply-To: <201010101605.40004.Dan.Johansson@dmj.nu>

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:

>      <boot dev='hd'/>

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 :)




  reply	other threads:[~2010-10-10 18:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-10 14:05 [gentoo-user] [OT] Problems with libvirt / qemu Dan Johansson
2010-10-10 18:08 ` walt [this message]
2010-10-11 16:48   ` [gentoo-user] " Dan Johansson
2010-10-11 17:02 ` [gentoo-user] " Ward Poelmans
2010-10-11 17:31   ` Dan Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i8sveq$7v6$1@dough.gmane.org' \
    --to=w41ter@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox