I am using qemu 2.0 to get a guest to detect a scsi disk, but the guest is unable to do it. I tried this syntax :-
qemu-system-x86_64 .... -drive file=/tmp/hd.test,if=scsi,media=disk,bus=0,unit=6,cyls=38,heads=255,secs=63
qemu-system-x86_64 .... -drive file=/tmp/hd.test,if=scsi,media=disk,index=0
qemu-system-x86_64 .... -drive file=/tmp/hd.test,if=scsi,media=disk,bus=0,unit=6
Change it to if=ide works. Do I have to prepare the disk in certain manner or compile qemu to include certain features ?
The qemu has been compile with this :-
./configure --prefix=/usr --sysconfdir=/etc --enable-gtk --with-gtkabi=3.0 --enable-uuid --target-list=x86_64-softmmu,i386-softmmu
host CPU x86_64
host big endian no
target list
x86_64-softmmu i386-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
pixman system
SDL support yes
GTK support yes
VTE support no
curses support yes
curl support no
mingw32 support no
Audio drivers oss
Block whitelist (rw)
Block whitelist (ro)
VirtFS support no
VNC support yes
VNC TLS support no
VNC SASL support no
VNC JPEG support no
VNC PNG support yes
VNC WS support no
xen support no
brlapi support no
bluez support no
Documentation yes
GUEST_BASE yes
PIE
yes
vde support yes
netmap support no
Linux AIO support no
ATTR/XATTR support yes
Install blobs yes
KVM support yes
RDMA support no
TCG interpreter no
fdt support yes
preadv support yes
fdatasync yes
madvise yes
posix_madvise yes
sigev_thread_id yes
uuid support
yes
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
Trace backend nop
Trace output file trace-<pid>
spice support no
rbd support no
xfsctl support no
nss used no
libusb no
usb net redir no
GLX support yes
libiscsi support no
libnfs support no
build guest agent yes
QGA VSS support no
seccomp support no
coroutine backend ucontext
coroutine pool yes
GlusterFS support no
virtio-blk-data-plane no
gcov gcov
gcov enabled no
TPM support no
libssh2 support no
TPM passthrough no
QOM debugging yes
vhdx yes
Quorum no
lzo support no
snappy
support no