summary refs log tree commit diff stats
path: root/hw/core/generic-loader.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2016-11-25 13:27:44 +0200
committerKevin Wolf <kwolf@redhat.com>2016-11-25 13:51:30 +0100
commit91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234 (patch)
treeafdbd60239e7271febeb498127230426dc670330 /hw/core/generic-loader.c
parent2f2c8d6b371cfc6689affb0b7e463fa2160c9e5b (diff)
downloadfocaccia-qemu-91203f08f0ca66f1a6aba1d0e5ef62ed98fb3234.tar.gz
focaccia-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 'hw/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions