From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmnKM-0008WD-Mn for qemu-devel@nongnu.org; Thu, 15 Dec 2005 02:14:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmnKJ-0008VH-GF for qemu-devel@nongnu.org; Thu, 15 Dec 2005 02:14:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmnIw-00083N-Ks for qemu-devel@nongnu.org; Thu, 15 Dec 2005 02:13:31 -0500 Received: from [81.187.81.52] (helo=smtp.aaisp.net.uk) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EmnL9-00026e-Ad for qemu-devel@nongnu.org; Thu, 15 Dec 2005 02:15:47 -0500 Received: from [81.187.40.226] (helo=[81.187.40.226]) by smtp.aaisp.net.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.43) id 1EmnIG-00072l-Ea for qemu-devel@nongnu.org; Thu, 15 Dec 2005 07:12:48 +0000 Message-ID: <43A1176F.30708@hermes.cam.ac.uk> Date: Thu, 15 Dec 2005 07:12:47 +0000 From: Richard Neill MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] smb option requires full path! Grr! Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel I've just spent *hours* tracking this down. When you invoke qemu with the -smb option, unless you specify the full path to the directory which is to be shared, you get all sorts of totally weird and unhelpful windows errors. Fixes that are needed: 1)Most urgently, this documentation page: http://fabrice.bellard.free.fr/qemu/qemu-doc.html needs to be modified. Where it refers to `-smb dir', it is important to note that dir must be an absolute path. [Incidentally, I note that the -redir option still doesn't document that slirp is broken, and has been for ages. Please can these be updated - it will save someone else the many wasted hours I have experienced fixing these two bugs] 2)It would be nice if the -smb option to qemu either detected the relative path and printed an error, or it corrected it to the absolute path. 3)Perhaps it would be worth printing to stdout: "Using smb configuration file /tmp/...../smb.conf" 4)I note that there are lots of defunct, but smb processes which do not properly exit until QEMU closes. These are harmless, but rather ugly. Regards, Richard