[Top][All Lists]

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

Re: [Qemu-discuss] Can't attach to SCSI controller

From: Aleksei
Subject: Re: [Qemu-discuss] Can't attach to SCSI controller
Date: Wed, 15 Nov 2017 12:49:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Your -hda parameter is not associated with -device paramater in any way. Here's an example of attaching drive to ahci bus, try modifying it to suit your needs:

-device ahci,id=ahci0 \
-device ide-hd,bus=ahci0.0,drive=drive0 \
-drive if=none,id=drive0,media=disk,file=/path/to/image.qcow2

/--Regards, Aleksei

On 15/11/17 12:21, Ian Chapman wrote:

Using qemu-system-i386, it seems completely impossible to attach a media image to a SCSI controller, other than the default which is an lsi53c895a. I specifically want to use the lsi53c810. As soon as I specify if=scsi as part of the -drive line, it insists on creating a lsi53c895a and attaching it to that, regardless of what bus number or index number I specify. What am I missing?

Example command line: (Linux, qemu 2.9.1)

qemu-system-i386 -L . -M pc -hda disk.qcow2 \
-device lsi53c810,multifunction=on \
-m size=128M \
-drive if=scsi,index=0,media=cdrom,file=cd.iso

reply via email to

[Prev in Thread] Current Thread [Next in Thread]