summary refs log tree commit diff stats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2018-04-11 15:26:05 +0300
committerMax Reitz <mreitz@redhat.com>2018-04-16 13:35:32 +0200
commit605bc8be4260d3440fdfd0079005e6d9c6fc1e44 (patch)
treec90bcffe87710f3c00809a4cf9c6fb6a6613bec8 /linux-user/signal.c
parentae2b1b4e1bb89ea949446597c8776255da0a79d3 (diff)
downloadfocaccia-qemu-605bc8be4260d3440fdfd0079005e6d9c6fc1e44.tar.gz
focaccia-qemu-605bc8be4260d3440fdfd0079005e6d9c6fc1e44.zip
qcow2: try load bitmaps only once
Checking reopen by existence of some bitmaps is wrong, as it may be
some other bitmaps, or on the other hand, user may remove bitmaps. This
criteria is bad. To simplify things and make behavior more predictable
let's just add a flag to remember, that we've already tried to load
bitmaps on open and do not want do it again.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20180411122606.367301-2-vsementsov@virtuozzo.com
[mreitz: Changed comment wording according to Eric Blake's suggestion]
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions