From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvpCT-0008Ha-Sn for qemu-devel@nongnu.org; Mon, 30 Jul 2012 08:35:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvpCL-0007MR-Sd for qemu-devel@nongnu.org; Mon, 30 Jul 2012 08:35:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvpCL-0007ML-JQ for qemu-devel@nongnu.org; Mon, 30 Jul 2012 08:35:45 -0400 Message-ID: <50167F9B.5050003@redhat.com> Date: Mon, 30 Jul 2012 15:35:39 +0300 From: Avi Kivity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] 9p broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , "Aneesh Kumar K.V" Cc: KVM list Having an annoying bug on i386 kvm I decided to debug it buy running an i386 guest on my x86_64 host, use 9p to access a guest image, and run it using nested kvm. However, 9p appears to be broken: first, the configure test fails (patch sent). Second, while mount works, ls on the mount point causes qemu to crash with (gdb) bt #0 error_set (errp=0x7fffe95fb128, fmt=0x5555558d4568 "{ 'class': 'VirtFSFeatureBlocksMigration', 'data': { 'path': %s, 'tag': %s } }") at /home/tlv/akivity/qemu/error.c:32 #1 0x000055555567cb06 in v9fs_attach (opaque=0x7fffe95e3020) at /home/tlv/akivity/qemu/hw/9pfs/virtio-9p.c:988 #2 0x000055555561d19f in coroutine_trampoline (i0=1449767888, i1=21845) at /home/tlv/akivity/qemu/coroutine-ucontext.c:138 #3 0x00007ffff5a93ef0 in ?? () from /lib64/libc.so.6 #4 0x00007fffffffce00 in ?? () #5 0x0000000000000000 in ?? ( **errp already points to a VirtFSFeatureBlocksMigration error; v9fs_attach() has been called a second time (the first time, understandably, on mount; the second on ls). Command line: qemu-system-x86_64 -m 4G -smp 4 -drive file=/images/Fedora-i386.img,if=virtio,cache=none -cdrom /images/iso/bfo.iso -device virtio-9p-pci,fsdev=root,mount_tag=root -fsdev local,id=root,path=/,security_model=passthrough -enable-kvm -net nic,model=virtio,netdev=net -netdev user,id=net -monitor stdio -cpu host -- error compiling committee.c: too many arguments to function