mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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:
parent
bf1ae1f4dc
commit
6e1dea46b8
5 changed files with 13 additions and 7 deletions
|
@ -2654,7 +2654,7 @@ static int qemu_rdma_close(void *opaque)
|
|||
*/
|
||||
static size_t qemu_rdma_save_page(QEMUFile *f, void *opaque,
|
||||
ram_addr_t block_offset, ram_addr_t offset,
|
||||
size_t size, int *bytes_sent)
|
||||
size_t size, uint64_t *bytes_sent)
|
||||
{
|
||||
QEMUFileRDMA *rfile = opaque;
|
||||
RDMAContext *rdma = rfile->rdma;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue