Searched refs:nic_models (Results 1 – 1 of 1) sorted by relevance
945 GPtrArray *nic_models = g_ptr_array_new(); in qemu_get_nic_models() local964 g_ptr_array_add(nic_models, (gpointer)name); in qemu_get_nic_models()972 g_ptr_array_add(nic_models, NULL); in qemu_get_nic_models()974 return nic_models; in qemu_get_nic_models()1197 GPtrArray *nic_models = qemu_get_nic_models(parent_type); in qemu_create_nic_bus_devices() local1207 for (i = 0; i < nic_models->len - 1; i++) { in qemu_create_nic_bus_devices()1208 add_nic_model_help(nic_models->pdata[i], NULL); in qemu_create_nic_bus_devices()1213 nic_models->len--; in qemu_create_nic_bus_devices()1232 if (!g_ptr_array_find_with_equal_func(nic_models, model, in qemu_create_nic_bus_devices()1243 g_ptr_array_free(nic_models, true); in qemu_create_nic_bus_devices()[all …]