block_int.h (a3a683c33d38fb29c7a78903e88dda12b84cc88d) block_int.h (53a7d041858a6787a43012fd04ccf0258389a95d)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 680 unchanged lines hidden (view full) ---

689 /* Notifies the parent that the filename of its child has changed (e.g.
690 * because the direct child was removed from the backing chain), so that it
691 * can update its reference. */
692 int (*update_filename)(BdrvChild *child, BlockDriverState *new_base,
693 const char *filename, Error **errp);
694
695 bool (*can_set_aio_ctx)(BdrvChild *child, AioContext *ctx,
696 GSList **ignore, Error **errp);
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 680 unchanged lines hidden (view full) ---

689 /* Notifies the parent that the filename of its child has changed (e.g.
690 * because the direct child was removed from the backing chain), so that it
691 * can update its reference. */
692 int (*update_filename)(BdrvChild *child, BlockDriverState *new_base,
693 const char *filename, Error **errp);
694
695 bool (*can_set_aio_ctx)(BdrvChild *child, AioContext *ctx,
696 GSList **ignore, Error **errp);
697 void (*set_aio_ctx)(BdrvChild *child, AioContext *ctx, GSList **ignore);
697};
698
699extern const BdrvChildRole child_file;
700extern const BdrvChildRole child_format;
701extern const BdrvChildRole child_backing;
702
703struct BdrvChild {
704 BlockDriverState *bs;

--- 540 unchanged lines hidden ---
698};
699
700extern const BdrvChildRole child_file;
701extern const BdrvChildRole child_format;
702extern const BdrvChildRole child_backing;
703
704struct BdrvChild {
705 BlockDriverState *bs;

--- 540 unchanged lines hidden ---