Revision 7e7f4a0e
b/qemu-nbd.c | ||
---|---|---|
539 | 539 |
snprintf(sockpath, 128, SOCKET_PATH, basename(device)); |
540 | 540 |
} |
541 | 541 |
|
542 |
qemu_init_main_loop(); |
|
542 | 543 |
bdrv_init(); |
543 | 544 |
atexit(bdrv_close_all); |
544 | 545 |
|
... | ... | |
584 | 585 |
memset(&client_thread, 0, sizeof(client_thread)); |
585 | 586 |
} |
586 | 587 |
|
587 |
qemu_init_main_loop(); |
|
588 | 588 |
qemu_set_fd_handler2(fd, nbd_can_accept, nbd_accept, NULL, |
589 | 589 |
(void *)(uintptr_t)fd); |
590 | 590 |
|
Also available in: Unified diff