54 Commits (243af0225ab37c642d73e4002b233af728119f72)

Author SHA1 Message Date
Wei Yang 038adc2f58 core: replace getpagesize() with qemu_real_host_page_size 7 years ago
Markus Armbruster a8d2532645 Include qemu-common.h exactly where needed 7 years ago
Vladimir Sementsov-Ogievskiy 9353db47c5 qcow2.h: add missing include 7 years ago
Kevin Wolf 966b000f49 qcow2: External file I/O 7 years ago
Alberto Garcia 1221fe6f63 qcow2: Allow configuring the L2 slice size 8 years ago
Alberto Garcia 6e6fa7605e qcow2: Remove BDS parameter from qcow2_cache_is_table_offset() 8 years ago
Alberto Garcia 77aadd7bed qcow2: Remove BDS parameter from qcow2_cache_discard() 8 years ago
Alberto Garcia b2f68bffab qcow2: Remove BDS parameter from qcow2_cache_clean_unused() 8 years ago
Alberto Garcia e64d4072d1 qcow2: Remove BDS parameter from qcow2_cache_destroy() 8 years ago
Alberto Garcia 2013c3d44d qcow2: Remove BDS parameter from qcow2_cache_put() 8 years ago
Alberto Garcia 2d135ee92d qcow2: Remove BDS parameter from qcow2_cache_entry_mark_dirty() 8 years ago
Alberto Garcia ebe988f318 qcow2: Remove BDS parameter from qcow2_cache_table_release() 8 years ago
Alberto Garcia b3b8b6d9c4 qcow2: Remove BDS parameter from qcow2_cache_get_table_idx() 8 years ago
Alberto Garcia 9869b27bb5 qcow2: Remove BDS parameter from qcow2_cache_get_table_addr() 8 years ago
Alberto Garcia 03019d7314 qcow2: Add table size field to Qcow2Cache 8 years ago
Max Reitz 08546bcfb2 qcow2: Fix overly broad madvise() 9 years ago
Max Reitz 4efb1f7c61 qcow2: Refuse to get unaligned offsets from cache 9 years ago
Pavel Butsykin f71c08ea8e qcow2: add qcow2_cache_discard 9 years ago
Alberto Garcia a8b99dd516 qcow2: Remove stale comment 9 years ago
Alberto Garcia 2f2c8d6b37 qcow2: Make qcow2_cache_table_release() work only in Linux 9 years ago
Kevin Wolf d9ca2ea2e2 block: Convert bdrv_pwrite(v/_sync) to BdrvChild 10 years ago
Kevin Wolf cf2ab8fc34 block: Convert bdrv_pread(v) to BdrvChild 10 years ago
Paolo Bonzini 02d0e09503 os-posix: include sys/mman.h 10 years ago
Denis V. Lunev f3c3b87dae qcow2: avoid extra flushes in qcow2 10 years ago
Peter Maydell 80c71a241a block: Clean up includes 10 years ago
Kevin Wolf 9a4f4c3156 block: Convert bs->file to BdrvChild 11 years ago
Kevin Wolf ff99129ab8 qcow2: Rename BDRVQcowState to BDRVQcow2State 11 years ago
Alberto Garcia 909c260c71 qcow2: reorder fields in Qcow2CachedTable to reduce padding 11 years ago
Alberto Garcia 279621c046 qcow2: add option to clean unused cache entries after some time 11 years ago
Alberto Garcia 355ee2d0e8 qcow2: mark the memory as no longer needed after qcow2_cache_empty() 11 years ago
Alberto Garcia 1bd84ee717 qcow2: remove unnecessary check 11 years ago
Alberto Garcia d1b4efe5c4 qcow2: style fixes in qcow2-cache.c 11 years ago
Alberto Garcia a3f1afb43a qcow2: make qcow2_cache_put() a void function 11 years ago
Alberto Garcia 812e4082ca qcow2: use a hash to look for entries in the L2 cache 11 years ago
Alberto Garcia fdfbca82a0 qcow2: remove qcow2_cache_find_entry_to_replace() 11 years ago
Alberto Garcia 2693310ecc qcow2: use an LRU algorithm to replace entries from the L2 cache 11 years ago
Alberto Garcia baf07d60f5 qcow2: simplify qcow2_cache_put() and qcow2_cache_entry_mark_dirty() 11 years ago
Alberto Garcia 72e80b8901 qcow2: use one single memory block for the L2/refcount cache tables 11 years ago
Alberto Garcia 8e8cb375e0 block: Give always priority to unused entries in the qcow2 L2 cache 11 years ago
Max Reitz 02004bd4ba qcow2: Use g_try_new0() for cache array 12 years ago
Markus Armbruster 02c4f26b15 block: Use g_new() & friends to avoid multiplying sizes 12 years ago
Kevin Wolf de82815db1 qcow2: Handle failure for potentially large allocations 12 years ago
Max Reitz 231bb26764 qcow2: Use negated overflow check mask 13 years ago
Max Reitz e7108feaac qcow2-cache: Empty cache 13 years ago
Max Reitz cf93980e77 qcow2: Employ metadata overlap checks 13 years ago
Paolo Bonzini 737e150e89 block: move include files to include/block/ 13 years ago
Paolo Bonzini 6af4e9ead4 qcow2: always operate caches in writeback mode 14 years ago
Kevin Wolf 3cce16f44d qcow2: Add some tracing 14 years ago
Anthony Liguori 7267c0947d Use glib memory allocation and free functions 15 years ago
Kevin Wolf 93913dfd8a qcow2: Use Qcow2Cache in writeback mode during loadvm/savevm 15 years ago