block-backend.c (d5ab9490cdf3ebcd97793982d4664f951816f6db) | block-backend.c (d5f8d79c2f1f22cb883ae404abff1ee8276d47f1) |
---|---|
1/* 2 * QEMU Block backends 3 * 4 * Copyright (C) 2014-2016 Red Hat, Inc. 5 * 6 * Authors: 7 * Markus Armbruster <armbru@redhat.com>, 8 * --- 297 unchanged lines hidden (view full) --- 306 notifier->detach_aio_context, 307 notifier->opaque); 308 } 309} 310 311static AioContext *blk_root_get_parent_aio_context(BdrvChild *c) 312{ 313 BlockBackend *blk = c->opaque; | 1/* 2 * QEMU Block backends 3 * 4 * Copyright (C) 2014-2016 Red Hat, Inc. 5 * 6 * Authors: 7 * Markus Armbruster <armbru@redhat.com>, 8 * --- 297 unchanged lines hidden (view full) --- 306 notifier->detach_aio_context, 307 notifier->opaque); 308 } 309} 310 311static AioContext *blk_root_get_parent_aio_context(BdrvChild *c) 312{ 313 BlockBackend *blk = c->opaque; |
314 IO_CODE(); |
|
314 315 return blk_get_aio_context(blk); 316} 317 318static const BdrvChildClass child_root = { 319 .inherit_options = blk_root_inherit_options, 320 321 .change_media = blk_root_change_media, --- 2297 unchanged lines hidden --- | 315 316 return blk_get_aio_context(blk); 317} 318 319static const BdrvChildClass child_root = { 320 .inherit_options = blk_root_inherit_options, 321 322 .change_media = blk_root_change_media, --- 2297 unchanged lines hidden --- |