Re: [PATCH] block: Add option to use driver whitelist even in tools

2021-07-12 Thread Daniel P . Berrangé
On Mon, Jul 12, 2021 at 10:18:30AM +0200, Kevin Wolf wrote: > Am 09.07.2021 um 19:45 hat Eric Blake geschrieben: > > On Fri, Jul 09, 2021 at 06:41:41PM +0200, Kevin Wolf wrote: > > > Currently, the block driver whitelists are only applied for the system > > > emulator. All other binaries still give

Re: [PATCH] block: Add option to use driver whitelist even in tools

2021-07-12 Thread Eric Blake
On Mon, Jul 12, 2021 at 10:18:30AM +0200, Kevin Wolf wrote: > > Is it feasible that someone would want two separate lists: one for > > qemu (which runs run efficiently) and another for tools (which ones do > > we support at all)? As written, your patch offers no chance to > > distinguish between t

Re: [PATCH] block: Add option to use driver whitelist even in tools

2021-07-12 Thread Kevin Wolf
Am 09.07.2021 um 19:45 hat Eric Blake geschrieben: > On Fri, Jul 09, 2021 at 06:41:41PM +0200, Kevin Wolf wrote: > > Currently, the block driver whitelists are only applied for the system > > emulator. All other binaries still give unrestricted access to all block > > drivers. There are use cases w

Re: [PATCH] block: Add option to use driver whitelist even in tools

2021-07-09 Thread Eric Blake
On Fri, Jul 09, 2021 at 06:41:41PM +0200, Kevin Wolf wrote: > Currently, the block driver whitelists are only applied for the system > emulator. All other binaries still give unrestricted access to all block > drivers. There are use cases where this made sense because the main > concern was avoidin

[PATCH] block: Add option to use driver whitelist even in tools

2021-07-09 Thread Kevin Wolf
Currently, the block driver whitelists are only applied for the system emulator. All other binaries still give unrestricted access to all block drivers. There are use cases where this made sense because the main concern was avoiding customers running VMs on less optimised block drivers and getting