block.c (a00e70c01241590b6c80dca4ee39b9de0b10097e) | block.c (cb2bfaa450dd65b717e27c9090169be05bd73b93) |
---|---|
1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * Copyright (c) 2020 Virtuozzo International GmbH. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 6385 unchanged lines hidden (view full) --- 6394 return NULL; 6395 } 6396 return drv->bdrv_get_specific_stats(bs); 6397} 6398 6399void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event) 6400{ 6401 IO_CODE(); | 1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * Copyright (c) 2020 Virtuozzo International GmbH. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 6385 unchanged lines hidden (view full) --- 6394 return NULL; 6395 } 6396 return drv->bdrv_get_specific_stats(bs); 6397} 6398 6399void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event) 6400{ 6401 IO_CODE(); |
6402 assert_bdrv_graph_readable(); 6403 |
|
6402 if (!bs || !bs->drv || !bs->drv->bdrv_co_debug_event) { 6403 return; 6404 } 6405 6406 bs->drv->bdrv_co_debug_event(bs, event); 6407} 6408 6409static BlockDriverState *bdrv_find_debug_node(BlockDriverState *bs) --- 1859 unchanged lines hidden --- | 6404 if (!bs || !bs->drv || !bs->drv->bdrv_co_debug_event) { 6405 return; 6406 } 6407 6408 bs->drv->bdrv_co_debug_event(bs, event); 6409} 6410 6411static BlockDriverState *bdrv_find_debug_node(BlockDriverState *bs) --- 1859 unchanged lines hidden --- |