summary refs log tree commit diff stats
path: root/scripts/qapi/events.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2020-02-18 11:02:09 +0000
committerJuan Quintela <quintela@redhat.com>2020-02-28 09:25:49 +0100
commita152bd00932a819af0f2ca3199e071e431fa93cb (patch)
treeba9526cecd68d17fca4bb4f4108dfa4d41ae2b72 /scripts/qapi/events.py
parent26daeba4d6ad272f3372c02a4762cf565438042e (diff)
downloadfocaccia-qemu-a152bd00932a819af0f2ca3199e071e431fa93cb.tar.gz
focaccia-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 'scripts/qapi/events.py')
0 files changed, 0 insertions, 0 deletions