qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/5] raw-posix: unmount CD-ROM filesystem via ud


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 5/5] raw-posix: unmount CD-ROM filesystem via udisks
Date: Fri, 10 Feb 2012 15:20:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

On 02/10/2012 01:51 PM, Markus Armbruster wrote:
> 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.

Getting O_EXCL access is worth the trouble. Everything else is just means to an end. :)

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]