ram: make all save_page functions take a uint64_t parameter

It used to be an int, but then we can't pass directly the
bytes_transferred parameter, that would happen later in the series.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
Juan Quintela 2015-02-12 19:02:42 +01:00
parent bf1ae1f4dc
commit 6e1dea46b8
5 changed files with 13 additions and 7 deletions

View file

@ -82,7 +82,7 @@ typedef size_t (QEMURamSaveFunc)(QEMUFile *f, void *opaque,
ram_addr_t block_offset,
ram_addr_t offset,
size_t size,
int *bytes_sent);
uint64_t *bytes_sent);
/*
* Stop any read or write (depending on flags) on the underlying