diff options
| author | Alberto Garcia | 2016-11-25 12:27:44 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2016-11-25 13:51:30 +0100 |
| commit | 91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234 (patch) | |
| tree | afdbd60239e7271febeb498127230426dc670330 /include | |
| parent | qcow2: Make qcow2_cache_table_release() work only in Linux (diff) | |
| download | qemu-91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234.tar.gz qemu-91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234.tar.xz qemu-91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234.zip | |
qcow2: Allow 'cache-clean-interval' in Linux only
The cache-clean-interval option of qcow2 only works on Linux. However
we allow setting it in other systems regardless of whether it works or
not.
In those systems this option is not simply a no-op: it actually
invalidates perfectly valid cache tables for no good reason without
freeing their memory.
This patch forbids using that option in non-Linux systems.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
