Received: from eggs.gnu.org ([140.186.70.92]:44364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvpwf-0007Ms-5u for qemu-devel@nongnu.org; Fri, 10 Feb 2012 07:51:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvpwX-0000xA-RL for qemu-devel@nongnu.org; Fri, 10 Feb 2012 07:51:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvpwX-0000x3-Kn for qemu-devel@nongnu.org; Fri, 10 Feb 2012 07:51:13 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1ACpC3O027430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 10 Feb 2012 07:51:12 -0500 From: Markus Armbruster References: <1328722656-22856-1-git-send-email-pbonzini@redhat.com> <1328722656-22856-6-git-send-email-pbonzini@redhat.com> Date: Fri, 10 Feb 2012 13:51:11 +0100 In-Reply-To: <1328722656-22856-6-git-send-email-pbonzini@redhat.com> (Paolo Bonzini's message of "Wed, 8 Feb 2012 18:37:36 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 5/5] raw-posix: unmount CD-ROM filesystem via udisks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: amit.shah@redhat.com, qemu-devel@nongnu.org Paolo Bonzini writes: > We need to use O_EXCL in order to suppress event generation in the > kernel. However, O_EXCL by definition fails when the CD-ROM drive > is mounted. Automatically unmount it when it is passed through to > the guest. I'm not sure automatic unmount is worth the trouble, and I'm even less sure making the auto-unmount mandatory is a smart move.