]> Git Repo - qemu.git/blobdiff - page_cache.c
block: Expose host_* drivers in blockdev-add
[qemu.git] / page_cache.c
index 3ef6ee7ad2def06de7cd36b966c2596239f333b2..b033681a937b61a51ffe0e0d4464f27112f8cd73 100644 (file)
@@ -150,7 +150,7 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr)
     return cache_get_by_addr(cache, addr)->it_data;
 }
 
-int cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata)
+int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata)
 {
 
     CacheItem *it = NULL;
This page took 0.023066 seconds and 4 git commands to generate.