From: "Aneesh Kumar K.V" Subject: Re: [Qemu-devel] 9p broken? Date: Tue, 31 Jul 2012 19:00:22 +0530 Message-ID: <87obmwjbwx.fsf@skywalker.in.ibm.com> References: <50167F9B.5050003@redhat.com> <87a9ygs9rl.fsf@skywalker.in.ibm.com> <5017CCB9.3020300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel , KVM list To: Avi Kivity Return-path: Received: from e23smtp05.au.ibm.com ([202.81.31.147]:34961 "EHLO e23smtp05.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101Ab2GaNaf (ORCPT ); Tue, 31 Jul 2012 09:30:35 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 31 Jul 2012 23:30:18 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6VDM5gs22347804 for ; Tue, 31 Jul 2012 23:22:06 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6VDUULC002808 for ; Tue, 31 Jul 2012 23:30:30 +1000 In-Reply-To: <5017CCB9.3020300@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity writes: > On 07/31/2012 09:51 AM, Aneesh Kumar K.V wrote: >> Avi Kivity writes: >> >>> 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 >> >> I missed that you have already sent a patch for configure fix. That >> looks better that what i sent. I will ack that patch >> >>> >>> (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). >>> >> >> Why are we calling attach a second time ?. I am also not able to reproduce this >> >> root@qemu-img-64:~# mount -t 9p -otrans=virtio,version=9p2000.L v_tmp /mnt >> root@qemu-img-64:~# ls /mnt/a.c >> /mnt/a.c >> > > I'm just doing ls /mnt (even tab completion: ls /mn crashes qemu). > Did this help ? http://mid.gmane.org/1343719453-26768-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com -aneesh