On Thu, Apr 04, 2019 at 05:07:46PM +0200, Kevin Wolf wrote: > When bdrv_temp_snapshot_options() is called for snapshot=on, the > 'discard' option in the options QDict hasn't been parsed and merged into > the flags yet. So copy the dict entry to make sure that the temporary > overlay enables discard when it was requested for the drive. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >
Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>