Home
last modified time | relevance | path

Searched refs:export_opts (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/
H A Dblockdev-nbd.c239 BlockExportOptions *export_opts; in qmp_nbd_server_add() local
254 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()
H A Dqemu-nbd.c608 BlockExportOptions *export_opts; in main() local
1157 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()