| 533 | } |
| 534 | |
| 535 | static int |
| 536 | eal_parse_vfio_vf_token(const char *vf_token) |
| 537 | { |
| 538 | struct internal_config *cfg = eal_get_internal_configuration(); |
| 539 | rte_uuid_t uuid; |
| 540 | |
| 541 | if (!rte_uuid_parse(vf_token, uuid)) { |
| 542 | rte_uuid_copy(cfg->vfio_vf_token, uuid); |
| 543 | return 0; |
| 544 | } |
| 545 | |
| 546 | return -1; |
| 547 | } |
| 548 | |
| 549 | /* Parse the arguments for --log-level only */ |
| 550 | static void |
no test coverage detected