From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfJWL-00086H-F9 for qemu-devel@nongnu.org; Wed, 22 May 2013 20:36:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfJW8-0007wj-O6 for qemu-devel@nongnu.org; Wed, 22 May 2013 20:36:41 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:54778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfJW8-0007w9-Hw for qemu-devel@nongnu.org; Wed, 22 May 2013 20:36:28 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 May 2013 18:36:25 -0600 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 85F46C90041 for ; Wed, 22 May 2013 20:36:22 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4N0aM2h200246 for ; Wed, 22 May 2013 20:36:23 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4N0aMD1005269 for ; Wed, 22 May 2013 20:36:22 -0400 Message-ID: <519D6478.8060403@us.ibm.com> Date: Wed, 22 May 2013 17:36:08 -0700 From: Badari MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu seabios issue with vhost-scsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Asias He , "Nicholas A. Bellinger" Hi, While testing vhost-scsi in the current qemu git, ran into an earlier issue with seabios. I had to disable scsi support in seabios to get it working. I was hoping this issue got resolved when vhost-scsi support got merged into qemu. Is this still being worked on ? Thanks, Badari [root ~]# gdb /root/qemu/x86_64-softmmu/qemu-system-x86_64 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /root/qemu/x86_64-softmmu/qemu-system-x86_64...done. (gdb) run --cpu qemu64 --enable-kvm -m 4096 -drive file=/var/lib/libvirt/images/lnx.img,if=ide,cache=writethrough -device vhost-scsi-pci,wwpn=naa.6001405bd4e8476d,event_idx=off -vnc :10 -boot d Starting program: /root/qemu/x86_64-softmmu/qemu-system-x86_64 --cpu qemu64 --enable-kvm -m 4096 -drive file=/var/lib/libvirt/images/window.img,if=ide,cache=writethrough -device vhost-scsi-pci,wwpn=naa.6001405bd4e8476d,event_idx=off -vnc :10 -boot d warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] [New Thread 0x7ffff1c1c700 (LWP 4725)] [New Thread 0x7ffff1239700 (LWP 4726)] [New Thread 0x7fffeb7ff700 (LWP 4729)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff1239700 (LWP 4726)] 0x00005555556b3191 in scsi_device_find (bus=0x5555565abb50, channel=0, id=0, lun=0) at hw/scsi/scsi-bus.c:1744 1744 QTAILQ_FOREACH_REVERSE(kid, &bus->qbus.children, ChildrenHead, sibling) { Missing separate debuginfos, use: debuginfo-install cyrus-sasl-gssapi-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-md5-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-plain-2.1.23-13.el6_3.1.x86_64 db4-4.7.25-17.el6.x86_64 glib2-2.22.5-7.el6.x86_64 glibc-2.12-1.107.el6.x86_64 gnutls-2.8.5-10.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6.x86_64 libcom_err-1.41.12-14.el6.x86_64 libcurl-7.19.7-35.el6.x86_64 libgcrypt-1.4.5-9.el6_2.2.x86_64 libgpg-error-1.7-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libtasn1-2.3-3.el6_2.1.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 nspr-4.9.2-1.el6.x86_64 nss-3.14.0.0-12.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 nss-util-3.14.0.0-2.el6.x86_64 openldap-2.4.23-31.el6.x86_64 openssl-1.0.0-27.el6.x86_64 pixman-0.26.2-4.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt #0 0x00005555556b3191 in scsi_device_find (bus=0x5555565abb50, channel=0, id= 0, lun=0) at hw/scsi/scsi-bus.c:1744 #1 0x00005555557a59f0 in virtio_scsi_device_find (vdev=0x5555565aba38, vq= 0x5555565d1150) at /root/qemu/hw/scsi/virtio-scsi.c:56 #2 virtio_scsi_handle_cmd (vdev=0x5555565aba38, vq=0x5555565d1150) at /root/qemu/hw/scsi/virtio-scsi.c:376 #3 0x00005555557b3410 in access_with_adjusted_size (addr=16, value= 0x7ffff1238b78, size=2, access_size_min=, access_size_max=, access= 0x5555557b4b80 , opaque=0x5555565ab8f0) at /root/qemu/memory.c:364 #4 0x00005555557b3a3b in memory_region_iorange_write ( iorange=, offset=, width=, data=2) at /root/qemu/memory.c:439 #5 0x00005555557b29a6 in kvm_handle_io (env=0x555556520aa0) at /root/qemu/kvm-all.c:1485 #6 kvm_cpu_exec (env=0x555556520aa0) at /root/qemu/kvm-all.c:1634 #7 0x000055555576108e in qemu_kvm_cpu_thread_fn (arg=0x555556520aa0) at /root/qemu/cpus.c:759 #8 0x00007ffff6059851 in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff5da790d in clone () from /lib64/libc.so.6