Re: kvm-85: virtio-blk not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andreas,

On Thursday 23 April 2009 19:34:31 Andreas Plesner Jacobsen wrote:
> On Thu, Apr 23, 2009 at 06:57:45PM +0200, Gerd v. Egidy wrote:
> > sorry, I'm not getting that far to make this a problem. I just added the
> > second disk (the virtio one) to  test if virtio is working when the guest
> > is running.
> >
> > I first tried it with just one virtio disk and no ide ones: it didin't
> > boot ("Boot failed: could not read the boot disk").
>
> KVM command line, please.

works as expected:

/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/testpart,if=ide,index=0 \
-net nic,macaddr=54:52:00:7c:a5:89,vlan=0,model=virtio
-net tap,fd=16,script=,vlan=0,ifname=vnet0 \
-serial pty -parallel none -usb -vnc 127.0.0.1:0

does not boot, BIOS complains "Boot failed: could not read the boot disk":

/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/testpart,if=virtio,index=0 \
-net nic,macaddr=54:52:00:7c:a5:89,vlan=0,model=virtio \
-net tap,fd=16,script=,vlan=0,ifname=vnet0 \
-serial pty -parallel none -usb -vnc 127.0.0.1:0

Kind regards,

Gerd

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux