Am 07.06.2012 19:50, schrieb Kashyap Chamarthy:
A related question:
A while ago, I was using just bare qemu-kvm to invoke an f16 kernel to test virtio-scsi:
qemu-kvm invocation:
#---------------------------------------------------#
# /usr/bin/qemu-kvm \
-device virtio-scsi-pci,id=scsi \
-enable-kvm \
-nographic -nodefconfig -nodefaults \
-chardev stdio,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-device sga \
-kernel vmlinuz-3.2.7-1.fc16.x86_64 \
-initrd initramfs-3.2.7-1.fc16.x86_64.img \
-append "console=ttyS0"
#---------------------------------------------------#
You're only adding the virtio-scsi controller here, but no disks, so
your guest can't find its root file system. I think you need to add:
-drive file=disk.img,if=none,id=sda
-device scsi-disk,bus=scsi.0,drive=sda
Kevin