summaryrefslogtreecommitdiff
path: root/migration/ram.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2017-08-30 16:32:00 +0800
committerJuan Quintela <quintela@redhat.com>2017-09-22 14:11:25 +0200
commitd7788151a0807d5d2d410e3f8944d8c8a651f8d2 (patch)
tree3e6ed934ea387d91404551d32c087f504f022d99 /migration/ram.c
parentfc7deeea26af3d08f45bad85b8bd3fc3d790a090 (diff)
downloadqemu-d7788151a0807d5d2d410e3f8944d8c8a651f8d2.tar.gz
bitmap: provide to_le/from_le helpers
Provide helpers to convert bitmaps to little endian format. It can be used when we want to send one bitmap via network to some other hosts. One thing to mention is that, these helpers only solve the problem of endianess, but it does not solve the problem of different word size on machines (the bitmaps managing same count of bits may contains different size when malloced). So we need to take care of the size alignment issue on the callers for now. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/ram.c')
0 files changed, 0 insertions, 0 deletions