Lines Matching refs:model

157                       nc->model, macaddr[0], macaddr[1], macaddr[2],  in qemu_format_nic_info_str()
230 static char *assign_name(NetClientState *nc1, const char *model) in assign_name() argument
239 if (strcmp(nc->model, model) == 0) { in assign_name()
244 return g_strdup_printf("%s.%d", model, id); in assign_name()
260 const char *model, in qemu_net_client_setup() argument
266 nc->model = g_strdup(model); in qemu_net_client_setup()
270 nc->name = assign_name(nc, model); in qemu_net_client_setup()
288 const char *model, in qemu_new_net_client() argument
296 qemu_net_client_setup(nc, info, peer, model, name, in qemu_new_net_client()
304 const char *model, in qemu_new_net_control_client() argument
312 qemu_net_client_setup(nc, info, peer, model, name, in qemu_new_net_control_client()
320 const char *model, in qemu_new_nic() argument
339 qemu_net_client_setup(&nic->ncs[i], info, peers[i], model, name, in qemu_new_nic()
396 g_free(nc->model); in qemu_free_net_client()
993 void qemu_check_nic_model(NICInfo *nd, const char *model) in qemu_check_nic_model() argument
997 models[0] = model; in qemu_check_nic_model()
1000 if (qemu_show_nic_models(nd->model, models)) in qemu_check_nic_model()
1002 if (qemu_find_nic_model(nd, models, model) < 0) in qemu_check_nic_model()
1011 if (!nd->model) in qemu_find_nic_model()
1012 nd->model = g_strdup(default_model); in qemu_find_nic_model()
1015 if (strcmp(nd->model, models[i]) == 0) in qemu_find_nic_model()
1019 error_report("Unsupported NIC model: %s", nd->model); in qemu_find_nic_model()
1054 if (nic->model) { in net_init_nic()
1055 nd->model = g_strdup(nic->model); in net_init_nic()
1579 nd->model ? nd->model : "unspecified"); in net_check_clients()
1635 ni->model = qemu_opt_get_del(opts, "model"); in net_param_nic()