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

2012-02-10 Thread Paolo Bonzini
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 unmo

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

2012-02-10 Thread Markus Armbruster
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, a

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

2012-02-08 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini --- Makefile.objs|3 + block.c