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