block_int.h (b5411555877121b74cbe0a12a867d16d861746b1) block_int.h (26de9438c1b6013532fb95de0720e2696588332f)
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

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

436
437 void *opaque;
438 bool deleted;
439
440 QLIST_ENTRY(BdrvAioNotifier) list;
441} BdrvAioNotifier;
442
443struct 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

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

436
437 void *opaque;
438 bool deleted;
439
440 QLIST_ENTRY(BdrvAioNotifier) list;
441} BdrvAioNotifier;
442
443struct BdrvChildRole {
444 /* If true, bdrv_replace_in_backing_chain() doesn't change the node this
445 * BdrvChild points to. */
446 bool stay_at_node;
447
444 void (*inherit_options)(int *child_flags, QDict *child_options,
445 int parent_flags, QDict *parent_options);
446
447 void (*change_media)(BdrvChild *child, bool load);
448 void (*resize)(BdrvChild *child);
449
450 /* Returns a name that is supposedly more useful for human users than the
451 * node name for identifying the node in question (in particular, a BB

--- 467 unchanged lines hidden ---
448 void (*inherit_options)(int *child_flags, QDict *child_options,
449 int parent_flags, QDict *parent_options);
450
451 void (*change_media)(BdrvChild *child, bool load);
452 void (*resize)(BdrvChild *child);
453
454 /* Returns a name that is supposedly more useful for human users than the
455 * node name for identifying the node in question (in particular, a BB

--- 467 unchanged lines hidden ---