Searched refs:export_opts (Results 1 – 2 of 2) sorted by relevance
239 BlockExportOptions *export_opts; in qmp_nbd_server_add() local254 export_opts = g_new(BlockExportOptions, 1); in qmp_nbd_server_add()255 *export_opts = (BlockExportOptions) { in qmp_nbd_server_add()262 QAPI_CLONE_MEMBERS(BlockExportOptionsNbdBase, &export_opts->u.nbd, in qmp_nbd_server_add()271 export_opts->u.nbd.has_bitmaps = true; in qmp_nbd_server_add()272 QAPI_LIST_PREPEND(export_opts->u.nbd.bitmaps, el); in qmp_nbd_server_add()281 export_opts->has_writable = true; in qmp_nbd_server_add()282 export_opts->writable = false; in qmp_nbd_server_add()285 export = blk_exp_add(export_opts, errp); in qmp_nbd_server_add()300 qapi_free_BlockExportOptions(export_opts); in qmp_nbd_server_add()
608 BlockExportOptions *export_opts; in main() local1157 export_opts = g_new(BlockExportOptions, 1); in main()1158 *export_opts = (BlockExportOptions) { in main()1175 blk_exp_add(export_opts, &error_fatal); in main()1176 qapi_free_BlockExportOptions(export_opts); in main()