| 289 | } |
| 290 | |
| 291 | static void |
| 292 | signal_handler(int signum) |
| 293 | { |
| 294 | if (signum == SIGINT || signum == SIGTERM) { |
| 295 | printf("\nSignal %d received, preparing to exit...\n", signum); |
| 296 | vdpa_sample_quit(); |
| 297 | exit(0); |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | /* interactive cmd functions */ |
| 302 |
nothing calls this directly
no test coverage detected