diff options
author | Stefan Hajnoczi | 2020-02-18 12:02:09 +0100 |
---|---|---|
committer | Juan Quintela | 2020-02-28 09:25:49 +0100 |
commit | a152bd00932a819af0f2ca3199e071e431fa93cb (patch) | |
tree | ba9526cecd68d17fca4bb4f4108dfa4d41ae2b72 /migration/migration.c | |
parent | migration/savevm: release gslist after dump_vmstate_json (diff) | |
download | qemu-a152bd00932a819af0f2ca3199e071e431fa93cb.tar.gz qemu-a152bd00932a819af0f2ca3199e071e431fa93cb.tar.xz qemu-a152bd00932a819af0f2ca3199e071e431fa93cb.zip |
migration/block: rename BLOCK_SIZE macro
Both <linux/fs.h> and <sys/mount.h> define BLOCK_SIZE macros. Avoiding
using that name in block/migration.c.
I noticed this when including <liburing.h> (Linux io_uring) from
"block/aio.h" and compilation failed. Although patches adding that
include haven't been sent yet, it makes sense to rename the macro now in
case someone else stumbles on it in the meantime.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.c')
0 files changed, 0 insertions, 0 deletions