Re: [Qemu-devel] [RFC PATCH 11/41] vvfat: Implement .bdrv_child_perm()

2017-02-15 Thread Kevin Wolf
Am 15.02.2017 um 18:30 hat Max Reitz geschrieben: > On 13.02.2017 18:22, Kevin Wolf wrote: > > vvfat is the last remaining driver that can have children, but doesn't > > implement .bdrv_child_perm() yet. The default handlers aren't suitable > > here, so let's implement a very simple driver-specific

Re: [Qemu-devel] [RFC PATCH 11/41] vvfat: Implement .bdrv_child_perm()

2017-02-15 Thread Max Reitz
On 13.02.2017 18:22, Kevin Wolf wrote: > vvfat is the last remaining driver that can have children, but doesn't > implement .bdrv_child_perm() yet. The default handlers aren't suitable > here, so let's implement a very simple driver-specific one that protects > the internal child from being used by

[Qemu-devel] [RFC PATCH 11/41] vvfat: Implement .bdrv_child_perm()

2017-02-13 Thread Kevin Wolf
vvfat is the last remaining driver that can have children, but doesn't implement .bdrv_child_perm() yet. The default handlers aren't suitable here, so let's implement a very simple driver-specific one that protects the internal child from being used by other users as good as our permissions permit.