public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Jackson <iggy@theiggy.com>
To: "Gerd v. Egidy" <gerd.von.egidy@intra2net.com>
Cc: kvm@vger.kernel.org
Subject: Re: kvm-85: virtio-blk not working
Date: Thu, 23 Apr 2009 11:10:47 -0500	[thread overview]
Message-ID: <200904231110.47416.iggy@theiggy.com> (raw)
In-Reply-To: <200904231043.05001.gerd.von.egidy@intra2net.com>

Your problem is that index's are per interface type, so both of your drives 
should be index=0 since they are different interface types.



On Thursday 23 April 2009 03:43:03 Gerd v. Egidy wrote:
> Hi,
>
> I just tried to upgrade my kvm (from 79) to the new 85. I'm using qemu-kvm-
> devel with the kvm-modules (and kernel-includes) that came with 2.6.29.1.
>
> Qemu-blockdevices and virtio-net work well. But virtio blockdevices are not
> accessible from within the guest system. Neither can the BIOS boot from
> them ("Boot failed: could not read the boot disk") nor can the guest-kernel
> (2.6.29.1 too) see them.
>
> I am (or better libvirt is) starting the guest like this:
>
> /usr/bin/qemu-kvm -S -M pc -m 1024 -smp 1 -name test \
> -uuid 283d1332-c234-9f28-24cf-8bbcc17b44c1 -monitor pty \
> -pidfile /var/run/libvirt/qemu//test.pid -boot c \
> -drive file=/dev/VolGroup00/testboot,if=ide,index=0 \
> -drive file=/dev/VolGroup00/testvirt,if=virtio,index=1 \
> -net nic,macaddr=54:52:00:7c:a5:89,vlan=0,model=virtio \
> -net tap,fd=17,script=,vlan=0,ifname=vnet0 \
> -serial pty -parallel none -usb -vnc 127.0.0.1:0
>
> When booting the guest I get these messages in the host log, but don't know
> if they are related:
>
> kernel: kvm: 3082: cpu0 unhandled wrmsr: 0xc0010117 data 0
> kernel: kvm: 3082: cpu0 unhandled rdmsr: 0xc0010117
> kernel: kvm: 3082: cpu0 unhandled rdmsr: 0xc0010117
>
> They show up when not using virtio-blk too.
>
> Any ideas?
>
> Kind regards,
>
> Gerd
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  parent reply	other threads:[~2009-04-23 16:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  8:43 kvm-85: virtio-blk not working Gerd v. Egidy
2009-04-23 16:07 ` Andreas Plesner Jacobsen
2009-04-23 16:57   ` Gerd v. Egidy
2009-04-23 17:34     ` Andreas Plesner Jacobsen
2009-04-24 11:58       ` Gerd v. Egidy
2009-04-24 12:56         ` Bernhard Held
2009-04-24 14:35           ` Gerd v. Egidy
2009-04-24 14:54             ` Brian Jackson
2009-04-24 16:57               ` Anthony Liguori
2009-04-23 16:10 ` Brian Jackson [this message]
2009-04-23 16:13   ` Anthony Liguori
2009-04-23 16:24     ` Daniel P. Berrange
2009-04-23 17:47       ` Anthony Liguori

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=200904231110.47416.iggy@theiggy.com \
    --to=iggy@theiggy.com \
    --cc=gerd.von.egidy@intra2net.com \
    --cc=kvm@vger.kernel.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