block_int.h (4cdd01d32ee6fe04f8d909bfd3708be6864873a2) block_int.h (8e2160e2c75522554647e197e8b61622d6cf076f)
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

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

338 void (*detach_aio_context)(void *opaque);
339
340 void *opaque;
341
342 QLIST_ENTRY(BdrvAioNotifier) list;
343} BdrvAioNotifier;
344
345struct BdrvChildRole {
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

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

338 void (*detach_aio_context)(void *opaque);
339
340 void *opaque;
341
342 QLIST_ENTRY(BdrvAioNotifier) list;
343} BdrvAioNotifier;
344
345struct BdrvChildRole {
346 int (*inherit_flags)(int parent_flags);
346 void (*inherit_options)(int *child_flags, QDict *child_options,
347 int parent_flags, QDict *parent_options);
347};
348
349extern const BdrvChildRole child_file;
350extern const BdrvChildRole child_format;
351
352struct BdrvChild {
353 BlockDriverState *bs;
354 char *name;

--- 348 unchanged lines hidden ---
348};
349
350extern const BdrvChildRole child_file;
351extern const BdrvChildRole child_format;
352
353struct BdrvChild {
354 BlockDriverState *bs;
355 char *name;

--- 348 unchanged lines hidden ---