From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM9sf-0004kg-I0 for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:05:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM9sX-0002ic-N3 for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:05:21 -0400 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:36447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM9sX-0002cm-2G for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:05:13 -0400 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 26 Aug 2014 11:35:09 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id E98CDE005C for ; Tue, 26 Aug 2014 11:37:17 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7Q65VNR5505318 for ; Tue, 26 Aug 2014 11:35:31 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7Q655ua027004 for ; Tue, 26 Aug 2014 11:35:05 +0530 From: "Aneesh Kumar K.V" In-Reply-To: <53FAEBF6.5000300@msgid.tls.msk.ru> References: <53FAEBF6.5000300@msgid.tls.msk.ru> Date: Tue, 26 Aug 2014 11:35:00 +0530 Message-ID: <87oav7iy5v.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] reporting 9pfs init errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev , qemu-devel Michael Tokarev writes: > Hello. > > I've a bugreport against debian qemu package which basically > states that 9pfs does not work. After some digging it turned > out to be error reporting problem, plain and simple. The > error message is: > > qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=pwk,bus=pci.0,addr=0x7: Virtio-9p Failed to initialize fs-driver with id:fsdev-fs0 and export path:/home/stevie/Documents/PWK > qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=pwk,bus=pci.0,addr=0x7: Device initialization failed. > qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=pwk,bus=pci.0,addr=0x7: Device 'virtio-9p-pci' could not be initialized > > and the actual problem is that the path is not accessible from > libvirt-spawned qemu due to permission denied (EPERM) error > returned from statfs() call. I have run into that issue once and really wanted to improve the error handling during startup. I guess we have better error handling during runtime, ie, file system related errors are correctly mapped and send to guest. We could definitely imporve our init error handling. -aneesh