On 05/11/2017 09:41 AM, Paolo Bonzini wrote: > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Paolo Bonzini > --- > block/io.c | 4 ++-- > include/block/block_int.h | 8 +++++--- > 2 files changed, 7 insertions(+), 5 deletions(-) > @@ -625,6 +622,11 @@ struct BlockDriverState { > */ > bool wakeup; > > + /* counter for nested bdrv_io_plug. > + * Accessed with atomic ops. > + */ > + unsigned io_plugged; Indentation is odd. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org