diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 22:31:10 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 22:31:10 +0000 |
| commit | 6f6831f61a44fde832ee6fab0cc5632de34cf6b7 (patch) | |
| tree | 47e59106156748bef6ef87537ad230ae7bec6044 /page_cache.c | |
| parent | bc3fbad816961a5b4a7f51a37472c4ac01effb92 (diff) | |
| parent | 41310c68781d742fa9bbfd5fcb1df9b7f23f5759 (diff) | |
| download | focaccia-qemu-6f6831f61a44fde832ee6fab0cc5632de34cf6b7.tar.gz focaccia-qemu-6f6831f61a44fde832ee6fab0cc5632de34cf6b7.zip | |
Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20140225' into staging
migration/next for 20140225 # gpg: Signature made Tue 25 Feb 2014 14:04:31 GMT using RSA key ID 5872D723 # gpg: Can't check signature: public key not found * remotes/juanquintela/tags/migration/20140225: rdma: rename 'x-rdma' => 'rdma' Fix two XBZRLE corruption issues Fix vmstate_info_int32_le comparison/assign qemu_file: use fwrite() correctly Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'page_cache.c')
| -rw-r--r-- | page_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/page_cache.c b/page_cache.c index 3ef6ee7ad2..b033681a93 100644 --- a/page_cache.c +++ b/page_cache.c @@ -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; |