[ kvm-Bugs-2840321 ] Qemu/KVM Can't boot scsi or virtio

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

 



Bugs item #2840321, was opened at 2009-08-19 09:11
Message generated for change (Comment added) made by iggy_cav
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2840321&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Donald Dupuis (dondster)
Assigned to: Nobody/Anonymous (nobody)
Summary: Qemu/KVM Can't boot scsi or virtio

Initial Comment:
I am running on Fedora 11 with kernel 2.6.29.6-217.2.8.fc11.x86_64 and also using Qemu version 0.11.50
Using the following command works. I have my pxe entry on the server to localboot.

/usr/bin/qemu-kvm -M pc -m 1024 -smp 2 -name vmgenserv -uuid 535a7862-170d-d93e-aa47-fa07e74892a6 -monitor pty -pidfile /var/run/libvirt/qemu//vmgenserv.pid -boot order=nc -drive file=/var/lib/libvirt/images/vmgenserve-sda.img -drive file=/var/lib/libvirt/images/vmgenserv-sdb.img -net nic,macaddr=54:52:00:66:4e:d8,vlan=0,model=rtl8139 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup -serial pty -parallel none -usb -vga cirrus -option-rom /usr/share/gpxe/rtl8139.rom

This command where the if=scsi,index=0 or if=virtio will fail

/usr/bin/qemu-kvm -M pc -m 1024 -smp 2 -name vmgenserv -uuid 535a7862-170d-d93e-aa47-fa07e74892a6 -monitor pty -pidfile /var/run/libvirt/qemu//vmgenserv.pid -boot order=nc -drive file=/var/lib/libvirt/images/vmgenserve-sda.img,if=scsi,index=0 -drive file=/var/lib/libvirt/images/vmgenserv-sdb.img,if=scsi,index=1 -net nic,macaddr=54:52:00:66:4e:d8,vlan=0,model=rtl8139 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup -serial pty -parallel none -usb -vga cirrus -option-rom /usr/share/gpxe/rtl8139.rom

It will also fail if I don't pxeboot

The screen will just read:

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk ( 98 GBytes )
ata1 master: QEMU DVD-ROM

Booting from Hard Disk...

I read in another bug report that this was supposed to work in 0.11.x


----------------------------------------------------------------------

Comment By: Brian Jackson (iggy_cav)
Date: 2009-08-19 11:37

Message:
You need to run qemu-kvm or kvm and add boot=on to your drive args for the
one you want to boot off of. Upstream qemu doesn't support booting off
scsi/virtio

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2840321&group_id=180599
--
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