On Thu 04 Apr 2019 05:07:46 PM CEST, 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>
Reviewed-by: Alberto Garcia <be...@igalia.com> Berto