| 209 | }; |
| 210 | |
| 211 | static const VirtMachineClass *virt_machine_find_class(const char *machine_name) |
| 212 | { |
| 213 | const VirtMachineClass *vmc, **pvmc; |
| 214 | |
| 215 | for(pvmc = virt_machine_list; *pvmc != NULL; pvmc++) { |
| 216 | vmc = *pvmc; |
| 217 | if (find_name(machine_name, vmc->machine_names)) |
| 218 | return vmc; |
| 219 | } |
| 220 | return NULL; |
| 221 | } |
| 222 | |
| 223 | static int virt_machine_parse_config(VirtMachineParams *p, |
| 224 | char *config_file_str, int len) |
no test coverage detected